Eventually it should also support "union".
* data/glr.cc: Move this check to...
* data/c++.m4: here, as lalr1.cc is affected too.
while (/*CONSTCOND*/ false)
# endif
]])
while (/*CONSTCOND*/ false)
# endif
]])
+
+## -------- ##
+## Checks. ##
+## -------- ##
+
+b4_token_ctor_if([b4_variant_if([],
+ [b4_fatal_at(b4_percent_define_get_loc(api.token.constructor),
+ [cannot use '%s' without '%s'],
+ [%define api.token.constructor],
+ [%define api.value.type variant]))])])
# user must initialize the first positions (in particular the
# filename member).
# user must initialize the first positions (in particular the
# filename member).
-b4_token_ctor_if([b4_variant_if([],
- [b4_fatal_at(b4_percent_define_get_loc(api.token.constructor),
- [cannot use '%s' without '%s'],
- [%define api.token.constructor],
- [%define api.value.type variant]))])])
-
# We require a pure interface.
m4_define([b4_pure_flag], [1])
# We require a pure interface.
m4_define([b4_pure_flag], [1])