bison-patches
[Top][All Lists]
Advanced

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

[PATCH 2/3] variant: fix inconsistent quotation


From: Akim Demaille
Subject: [PATCH 2/3] variant: fix inconsistent quotation
Date: Tue, 9 Apr 2013 14:29:08 +0200

* data/variant.hh (b4_char_sizeof): De-overquote.
(b4_value_type_declare): De-underquote.
---
 data/variant.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/variant.hh b/data/variant.hh
index 7fa6846..ac4f7a7 100644
--- a/data/variant.hh
+++ b/data/variant.hh
@@ -63,7 +63,7 @@ m4_define([b4_char_sizeof],
 [b4_symbol_if([$1], [has_type],
 [
 m4_map([      b4_symbol_tag_comment], address@hidden)dnl
-      char address@hidden([b4_symbol([$1], [type])])@};
+      char address@hidden(b4_symbol([$1], [type]))@};
 ])])
 
 
@@ -248,12 +248,12 @@ m4_define([b4_variant_define],
 # ---------------------
 # Declare semantic_type.
 m4_define([b4_value_type_declare],
-[    /// An auxiliary type to compute the largest semantic type.
+[[    /// An auxiliary type to compute the largest semantic type.
     union union_type
     {]b4_type_foreach([b4_char_sizeof])[};
 
     /// Symbol semantic values.
-    typedef variant<sizeof(union_type)> semantic_type;dnl
+    typedef variant<sizeof(union_type)> semantic_type;][]dnl
 ])
 
 
-- 
1.8.2




reply via email to

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