diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-11 14:09:47 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-11 14:09:47 +0000 |
commit | d174d05bef594268a5caad2e895435dc045d158e (patch) | |
tree | 12d123540fdc4e7a6d1763ef4d51a76c8680f956 /gcc/melt/warmelt-first.melt | |
parent | f45dec246baac2c34834f9dd8583e45f70059000 (diff) | |
download | gcc-d174d05bef594268a5caad2e895435dc045d158e.tar.gz |
2013-10-11 Basile Starynkevitch <basile@starynkevitch.net>
* melt/warmelt-first.melt: Add a comment about forbidden macros in
this first file.
(melt_low_debug): Improve documentation.
* melt/warmelt-macro.melt (mexpand_defmacro): Reject macro in
first file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@203443 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt/warmelt-first.melt')
-rw-r--r-- | gcc/melt/warmelt-first.melt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/melt/warmelt-first.melt b/gcc/melt/warmelt-first.melt index 9c45d50b484..0904b8343fb 100644 --- a/gcc/melt/warmelt-first.melt +++ b/gcc/melt/warmelt-first.melt @@ -34,8 +34,9 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; This warmelt-first.melt file is translated in translateinit mode -;; when bootstrapping, so thet MELT_HAS_INITIAL_ENVIRONMENT is 0 in -;; that particular case. +;; when bootstrapping, so that MELT_HAS_INITIAL_ENVIRONMENT is 0 in +;; that particular case. It should not contain any macro definition +;; with defmacro or export_macro. (code_chunk warn_hasinit_chk #{ #if MELT_HAS_INITIAL_ENVIRONMENT @@ -46,7 +47,7 @@ ;;; Avoid using debug_msg or debug here. If needed, use the following (defprimitive melt_low_debug (:cstring msg :value val) :void - :doc #{Low level macro for debugging, only useful in file + :doc #{Low level primitive for debugging, only useful in file warmelt-first.melt only. Use $DEBUG instead.}# #{/* melt_low_debug */ melt_low_debug_value($MSG,(melt_ptr_t)$VAL)}# ) |