mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
Fix line report with input_line
This commit is contained in:
@@ -992,7 +992,7 @@ output_parser (const char *skel_filename, struct obstack *oout)
|
|||||||
else if (!strcmp (muscle_key, "line"))
|
else if (!strcmp (muscle_key, "line"))
|
||||||
obstack_fgrow1 (oout, "%d", line + 1);
|
obstack_fgrow1 (oout, "%d", line + 1);
|
||||||
else if (!strcmp (muscle_key, "input_line"))
|
else if (!strcmp (muscle_key, "input_line"))
|
||||||
obstack_fgrow1 (oout, "%d", lineno + 1);
|
obstack_fgrow1 (oout, "%d", lineno);
|
||||||
else if (!strcmp (muscle_key, "action"))
|
else if (!strcmp (muscle_key, "action"))
|
||||||
{
|
{
|
||||||
size_t size = obstack_object_size (&action_obstack);
|
size_t size = obstack_object_size (&action_obstack);
|
||||||
|
|||||||
Reference in New Issue
Block a user