d: style changes

* data/skeletons/lalr1.d: here.
This commit is contained in:
Akim Demaille
2019-06-19 08:26:32 +02:00
parent cde8c0a0e6
commit 0555e25a41

View File

@@ -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() ~ ": "])[;