diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-22 12:38:23 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-22 12:38:23 +0000 |
commit | 7e2089706dc7c00b273435b218b746a84069d1ae (patch) | |
tree | 61895139a2315099c72f06994058619f61460607 /gcc | |
parent | 5173647e1ca578891efb910aebdbcaafa4cf2d88 (diff) | |
download | gcc-7e2089706dc7c00b273435b218b746a84069d1ae.tar.gz |
�
* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
lang_flag_0. Added documentation in the flag table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/tree.def | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a5eaba0614..9e7b6c59c6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Wed Jul 22 12:37:14 1998 Alexandre Petit-Bianco <apbianco@cygnus.com> + + * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression + so WFL are expanded correctly when contained in a COMPOUND_EXPR. + * tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use + lang_flag_0. Added documentation in the flag table. + Tue Jul 21 23:28:35 1998 Klaus Kaempf <kkaempf@rmi.de> * cccp.c (do_include): Fix vax c style include handling. diff --git a/gcc/tree.def b/gcc/tree.def index 632358b8aea..db272f18284 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -743,11 +743,12 @@ DEFTREECODE (EXIT_EXPR, "exit_expr", 's', 1) The type should be void and the value should be ignored. */ DEFTREECODE (LOOP_EXPR, "loop_expr", 's', 1) -/* Used to represent a tree node, such as IDENTIFIER_NODE or an EXPR - node, adding several location information: a file name, a line - number and column number. It is expanded as the node it refers to - and can be considered a no-op "conversion" with an annotation. */ -DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location", '1', 2) +/* Annotates a tree node (usually an expression) with source location + information: a file name (EXPR_WFL_FILENAME); a line number + (EXPR_WFL_LINENO); and column number (EXPR_WFL_COLNO). It is + expanded as the contained node (EXPR_WFL_NODE); a line note should + be emitted first if EXPR_WFL_EMIT_LINE_NOTE. */ +DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location", 'e', 2) /* Local variables: mode:c |