mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
Pass command line location to skeleton_arg and language_argmatch.
* src/getargs.h, src/getargs.c (skeleton_arg, language_argmatch): The location argument is now mandatory. Adjust all dependencies. (getargs): Use command_line_location.
This commit is contained in:
committed by
Joel E. Denny
parent
e14c68313b
commit
e186a28486
@@ -1994,7 +1994,10 @@ yyreduce:
|
||||
|
||||
/* Line 1455 of yacc.c */
|
||||
#line 257 "parse-gram.y"
|
||||
{ language_argmatch ((yyvsp[(2) - (2)].chars), grammar_prio, &(yylsp[(1) - (2)])); }
|
||||
{ language_argmatch ((yyvsp[(2) - (2)].chars), grammar_prio, (yylsp[(1) - (2)])); }
|
||||
|
||||
/* Line 1457 of yacc.c */
|
||||
#line 2036 "../../../src/parse-gram.c"
|
||||
break;
|
||||
|
||||
case 19:
|
||||
@@ -2110,7 +2113,7 @@ yyreduce:
|
||||
skeleton_user = uniqstr_new (skeleton_build);
|
||||
free (skeleton_build);
|
||||
}
|
||||
skeleton_arg (skeleton_user, grammar_prio, &(yylsp[(1) - (2)]));
|
||||
skeleton_arg (skeleton_user, grammar_prio, (yylsp[(1) - (2)]));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user