mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/bison.simple: Remove #line just before %%epilogue. It
is now handled in ... * src/reader.c (read_additionnal_code): Add the output of a #line for the epilogue.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-12-11 Marc Autret <autret_m@epita.fr>
|
||||
|
||||
* src/bison.simple: Remove #line just before %%epilogue. It
|
||||
is now handled in ...
|
||||
* src/reader.c (read_additionnal_code): Add the output of a
|
||||
#line for the epilogue.
|
||||
|
||||
2001-12-10 Marc Autret <autret_m@epita.fr>
|
||||
|
||||
* src/reader.c (copy_definition): Re-use CPP-outed code which
|
||||
|
||||
@@ -1102,5 +1102,4 @@ yyreturn:
|
||||
return yyresult;
|
||||
}
|
||||
|
||||
#line %%input-line "%%filename"
|
||||
%%epilogue
|
||||
|
||||
@@ -1688,6 +1688,13 @@ read_additionnal_code (void)
|
||||
|
||||
obstack_init (&el_obstack);
|
||||
|
||||
if (!no_lines_flag)
|
||||
{
|
||||
obstack_fgrow2 (&el_obstack, muscle_find ("linef"),
|
||||
lineno, quotearg_style (c_quoting_style,
|
||||
muscle_find("filename")));
|
||||
}
|
||||
|
||||
while ((c = getc (finput)) != EOF)
|
||||
obstack_1grow (&el_obstack, c);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user