mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
d: style changes
* data/skeletons/lalr1.d: here.
This commit is contained in:
@@ -314,7 +314,7 @@ b4_user_union_members
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
[protected final void yycdebug (string s) {
|
[protected final void yycdebug (string s) {
|
||||||
if (yydebug > 0)
|
if (0 < yydebug)
|
||||||
yyDebugStream.writeln (s);
|
yyDebugStream.writeln (s);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -440,7 +440,7 @@ b4_user_union_members
|
|||||||
ref ]b4_yystype[ yyvaluep]dnl
|
ref ]b4_yystype[ yyvaluep]dnl
|
||||||
b4_locations_if([, ref ]b4_location_type[ yylocationp])[)
|
b4_locations_if([, ref ]b4_location_type[ yylocationp])[)
|
||||||
{
|
{
|
||||||
if (yydebug > 0) {
|
if (0 < yydebug) {
|
||||||
string message = s ~ (yytype < yyntokens_ ? " token " : " nterm ")
|
string message = s ~ (yytype < yyntokens_ ? " token " : " nterm ")
|
||||||
~ yytname_[yytype] ~ " ("]b4_locations_if([
|
~ yytname_[yytype] ~ " ("]b4_locations_if([
|
||||||
~ yylocationp.toString() ~ ": "])[;
|
~ yylocationp.toString() ~ ": "])[;
|
||||||
|
|||||||
Reference in New Issue
Block a user