]> gcc.gnu.org Git - gcc.git/commitdiff
tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded...
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Wed, 22 Jul 1998 12:38:23 +0000 (12:38 +0000)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 22 Jul 1998 12:38:23 +0000 (05:38 -0700)

* 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

gcc/ChangeLog
gcc/tree.def

index 3a5eaba06149a7f04609403f0ffe89e0786ee2f1..9e7b6c59c6eb8fc1f2cbca02e3fe1bcf39ac3bce 100644 (file)
@@ -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.
index 632358b8aea3a9d3fb9e8473e326f788caafa8f0..db272f1828428e31cd09fe95c2ad5911d578b184 100644 (file)
@@ -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
This page took 0.074025 seconds and 5 git commands to generate.