[[%define api.push_pull both
%define lr.keep_unreachable_states maybe
%define namespace "foo"
-%define api.namespace "foo"
+%define api.namespace {foo}
%define variant
%%
start: %empty;
%define namespace "foo"
^^^^^^^^^
input.y:4.9-21: error: %define variable 'api.namespace' redefined
- %define api.namespace "foo"
+ %define api.namespace {foo}
^^^^^^^^^^^^^
input.y:3.9-17: previous definition
%define namespace "foo"
AT_DATA([[input.y]],
[[%language "C++"
%defines
-%define api.namespace "]$1["
+%define api.namespace {]$1[}
%%
start: %empty;
]])