bison-patches
[Top][All Lists]
Advanced

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

style: fix comments


From: Akim Demaille
Subject: style: fix comments
Date: Sun, 19 Apr 2020 15:42:11 +0200

commit 9b7e7077dd2717e22abe417e6f1bf0d1f1cb9a27
Author: Akim Demaille <address@hidden>
Date:   Sun Apr 19 15:37:12 2020 +0200

    style: fix comments
    
    * data/skeletons/glr.c, data/skeletons/lalr1.cc,
    * data/skeletons/yacc.c: here.

diff --git a/data/skeletons/glr.c b/data/skeletons/glr.c
index cd72f69b..027476df 100644
--- a/data/skeletons/glr.c
+++ b/data/skeletons/glr.c
@@ -622,7 +622,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
   {
   ]b4_symbol_names[
   };]m4_ifdef([b4_translatable], [[
-  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
+  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
      internationalizable.  */
   static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
   {
diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc
index 8c6aa930..9c9be93c 100644
--- a/data/skeletons/lalr1.cc
+++ b/data/skeletons/lalr1.cc
@@ -592,7 +592,7 @@ m4_if(b4_prefix, [yy], [],
     {
     ]b4_symbol_names[
     };]m4_ifdef([b4_translatable], [[
-    /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
+    /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
        internationalizable.  */
     static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
     {
diff --git a/data/skeletons/yacc.c b/data/skeletons/yacc.c
index 77794f72..930b947f 100644
--- a/data/skeletons/yacc.c
+++ b/data/skeletons/yacc.c
@@ -677,7 +677,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
   {
   ]b4_symbol_names[
   };]m4_ifdef([b4_translatable], [[
-  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
+  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
      internationalizable.  */
   static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
   {
diff --git a/src/parse-gram.c b/src/parse-gram.c
index 86671538..964115b8 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -666,7 +666,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
   "named_ref.opt", "variable", "value", "id", "id_colon", "symbol",
   "string_as_id", "epilogue.opt", YY_NULLPTR
   };
-  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
+  /* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
      internationalizable.  */
   static yytype_int8 yytranslatable[] =
   {




reply via email to

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