summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2013-04-16 17:42:43 +0200
committerAkim Demaille <akim@lrde.epita.fr>2013-04-16 17:42:43 +0200
commitaba47f562429848270983cd4c3e0c5fd44e71bcd (patch)
tree3263d5089cc03dafcce43fc42f39ad67035042e7 /src
parentc53b6848897960bc783afdbc230e1a247977d63d (diff)
downloadbison-aba47f562429848270983cd4c3e0c5fd44e71bcd.tar.gz
muscle: check the kind of api.prefix, api.location.type
* data/bison.m4: Check api.prefix. * data/c++.m4: Check api.location.type. * doc/bison.texi: Fix uses of api.value.type, api.prefix, api.location.type. Document {...} values for %define. * src/parse-gram.y: Fix use of api.prefix. * tests/calc.at: Fix uses of api.location.type. * tests/input.at: Check api.prefix, and api.location.type.
Diffstat (limited to 'src')
-rw-r--r--src/parse-gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse-gram.y b/src/parse-gram.y
index ebcd31b3..355e1488 100644
--- a/src/parse-gram.y
+++ b/src/parse-gram.y
@@ -82,7 +82,7 @@ static char const *char_name (char);
#define YYTYPE_UINT8 uint_fast8_t
}
-%define api.prefix "gram_"
+%define api.prefix {gram_}
%define api.pure full
%define locations
%define parse.error verbose