mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13: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:
@@ -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