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/tree.def | |
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/tree.def')
-rw-r--r-- | gcc/tree.def | 11 |
1 files changed, 6 insertions, 5 deletions
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 |