From 6155db81aa47b22f3cbc8f2776350b716e7e307d Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 8 Apr 2013 20:22:04 +0200 Subject: [PATCH] variant: fix inconsistent quotation * 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 7fa68464..ac4f7a78 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], [$@])dnl - char _b4_char_sizeof_dummy@{sizeof([b4_symbol([$1], [type])])@}; + char _b4_char_sizeof_dummy@{sizeof(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 semantic_type;dnl + typedef variant semantic_type;][]dnl ]) -- 2.45.2