mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +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>
|
2001-12-10 Marc Autret <autret_m@epita.fr>
|
||||||
|
|
||||||
* src/reader.c (copy_definition): Re-use CPP-outed code which
|
* src/reader.c (copy_definition): Re-use CPP-outed code which
|
||||||
|
|||||||
@@ -1102,5 +1102,4 @@ yyreturn:
|
|||||||
return yyresult;
|
return yyresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
#line %%input-line "%%filename"
|
|
||||||
%%epilogue
|
%%epilogue
|
||||||
|
|||||||
@@ -1688,6 +1688,13 @@ read_additionnal_code (void)
|
|||||||
|
|
||||||
obstack_init (&el_obstack);
|
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)
|
while ((c = getc (finput)) != EOF)
|
||||||
obstack_1grow (&el_obstack, c);
|
obstack_1grow (&el_obstack, c);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user