mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
api.token.raw: apply to the other skeletons
* data/skeletons/c++.m4, data/skeletons/glr.c, * data/skeletons/lalr1.c, data/skeletons/lalr1.java: Add support for api.token.raw. * tests/scanner.at: Check them.
This commit is contained in:
@@ -684,9 +684,9 @@ public void yyerror (]AT_LOCATION_IF([[YYLocation l, ]])[string m)
|
||||
m4_define([AT_MAIN_DEFINE(d)],
|
||||
[[int main ()
|
||||
{
|
||||
Lexer l = new Lexer ();
|
||||
Parser p = new Parser (l);
|
||||
p.parse ();
|
||||
auto l = new ]AT_API_prefix[Lexer ();
|
||||
auto p = new ]AT_API_PREFIX[Parser (l);
|
||||
return p.parse ();
|
||||
}]])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user