Formatting changes.

* data/lalr1.java: here.
This commit is contained in:
Akim Demaille
2008-11-22 21:47:17 +01:00
parent e0c653e7e6
commit c4ddc0fb0b
2 changed files with 10 additions and 5 deletions

View File

@@ -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++.

View File

@@ -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
{ {