diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1998-07-22 12:38:23 +0000 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-07-22 05:38:23 -0700 |
commit | 2491f72d97bb8c0f8d28827e055755081b93e809 (patch) | |
tree | 61895139a2315099c72f06994058619f61460607 /gcc/tree.def | |
parent | dadafe54d1c76f8ad8fc84c569402dad846b1ad2 (diff) | |
download | gcc-2491f72d97bb8c0f8d28827e055755081b93e809.tar.gz |
tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded correctly when...
�
* 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.
From-SVN: r21338
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 |