[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: [Main] Fix a forget.
From: |
Pascal Bart |
Subject: |
FYI: [Main] Fix a forget. |
Date: |
Sat, 1 Sep 2001 12:42:31 +0000 (GMT) |
Hello,
This patch fix a forget about the used of muscle filename for
`#line'.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.205
diff -u -r1.205 ChangeLog
--- ChangeLog 2001/09/01 01:20:54 1.205
+++ ChangeLog 2001/09/01 10:39:22
@@ -1,3 +1,8 @@
+2001-09-01 Pascal Bart <address@hidden>
+
+ * src/reader.c (copy_guard): Use muscle to specify the `#line'
+ filename.
+
2001-09-01 Marc Autret <address@hidden>
* tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
Index: src/reader.c
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.c,v
retrieving revision 1.83
diff -u -r1.83 reader.c
--- src/reader.c 2001/08/31 18:51:06 1.83
+++ src/reader.c 2001/09/01 10:39:23
@@ -1201,7 +1201,8 @@
obstack_fgrow1 (&guard_obstack, "\ncase %d:\n", nrules);
if (!no_lines_flag)
obstack_fgrow2 (&guard_obstack, "#line %d %s\n",
- lineno, quotearg_style (c_quoting_style, infile));
+ lineno, quotearg_style (c_quoting_style,
+ macro_find ("filename")));
obstack_1grow (&guard_obstack, '{');
count = 0;
Pascal Bart (address@hidden)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: [Main] Fix a forget.,
Pascal Bart <=