mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* src/bison.simple: Don't hard code the skeleton line and filename.
* src/output.c (output_parser): Rename 'line' as 'output_line'. New line counter 'skeleton_line' (skeleton-line muscle).
This commit is contained in:
@@ -82,7 +82,7 @@ typedef struct yyltype
|
||||
/* Copy the user declarations. */
|
||||
%%prologue
|
||||
|
||||
/* Line 85 of bison.simple. */
|
||||
/* Line %%skeleton-line of %%skeleton. */
|
||||
#line %%line "%%parser-file-name"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -896,7 +896,8 @@ yyreduce:
|
||||
{
|
||||
%%actions
|
||||
}
|
||||
/* Line 902 of bison.simple. */
|
||||
|
||||
/* Line %%skeleton-line of %%skeleton. */
|
||||
#line %%line "%%parser-file-name"
|
||||
|
||||
yyvsp -= yylen;
|
||||
|
||||
Reference in New Issue
Block a user