From: Alexandre Petit-Bianco Date: Wed, 22 Jul 1998 12:38:23 +0000 (+0000) Subject: tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded... X-Git-Tag: prereleases/libgcj-0.1~3821 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=2491f72d97bb8c0f8d28827e055755081b93e809;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a5eaba06149..9e7b6c59c6eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Wed Jul 22 12:37:14 1998 Alexandre Petit-Bianco + + * 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 * cccp.c (do_include): Fix vax c style include handling. diff --git a/gcc/tree.def b/gcc/tree.def index 632358b8aea3..db272f182842 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