mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
Formatting changes.
* data/lalr1.java: here.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-11-25 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Formatting changes.
|
||||||
|
* data/lalr1.java: here.
|
||||||
|
|
||||||
2008-11-25 Akim Demaille <demaille@gostai.com>
|
2008-11-25 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
b4_args is more general than only C++.
|
b4_args is more general than only C++.
|
||||||
|
|||||||
@@ -534,10 +534,10 @@ m4_popdef([b4_at_dollar])])dnl
|
|||||||
/* Read a lookahead token. */
|
/* Read a lookahead token. */
|
||||||
if (yychar == yyempty_)
|
if (yychar == yyempty_)
|
||||||
{
|
{
|
||||||
yycdebug ("Reading a token: ");
|
yycdebug ("Reading a token: ");
|
||||||
yychar = yylexer.yylex ();]
|
yychar = yylexer.yylex ();]
|
||||||
b4_locations_if([[
|
b4_locations_if([[
|
||||||
yylloc = new ]b4_location_type[(yylexer.getStartPos (),
|
yylloc = new ]b4_location_type[(yylexer.getStartPos (),
|
||||||
yylexer.getEndPos ());]])
|
yylexer.getEndPos ());]])
|
||||||
yylval = yylexer.getLVal ();[
|
yylval = yylexer.getLVal ();[
|
||||||
}
|
}
|
||||||
@@ -545,8 +545,8 @@ m4_popdef([b4_at_dollar])])dnl
|
|||||||
/* Convert token to internal form. */
|
/* Convert token to internal form. */
|
||||||
if (yychar <= Lexer.EOF)
|
if (yychar <= Lexer.EOF)
|
||||||
{
|
{
|
||||||
yychar = yytoken = Lexer.EOF;
|
yychar = yytoken = Lexer.EOF;
|
||||||
yycdebug ("Now at end of input.\n");
|
yycdebug ("Now at end of input.\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user