bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/5] d: style changes


From: Akim Demaille
Subject: [PATCH 4/5] d: style changes
Date: Thu, 20 Jun 2019 07:08:30 +0200

* data/skeletons/lalr1.d: here.
---
 data/skeletons/lalr1.d | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/skeletons/lalr1.d b/data/skeletons/lalr1.d
index b30bce60..21f52267 100644
--- a/data/skeletons/lalr1.d
+++ b/data/skeletons/lalr1.d
@@ -314,7 +314,7 @@ b4_user_union_members
   }]
 
   [protected final void yycdebug (string s) {
-    if (yydebug > 0)
+    if (0 < yydebug)
       yyDebugStream.writeln (s);
   }
 
@@ -440,7 +440,7 @@ b4_user_union_members
     ref ]b4_yystype[ yyvaluep]dnl
 b4_locations_if([, ref ]b4_location_type[ yylocationp])[)
   {
-    if (yydebug > 0) {
+    if (0 < yydebug) {
       string message = s ~ (yytype < yyntokens_ ? " token " : " nterm ")
               ~ yytname_[yytype] ~ " ("]b4_locations_if([
               ~ yylocationp.toString() ~ ": "])[;
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]