summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-12-23 12:47:31 +0100
committerAkim Demaille <akim@lrde.epita.fr>2012-12-26 10:31:42 +0100
commitae8880deec6ffba6a71652bf98ffcf62d602f82b (patch)
tree34634c43b5b174cbde3af13c705e89cd845f8dc4 /examples
parent1a06f28efc71127635056174ed2923a7847342fb (diff)
downloadbison-ae8880deec6ffba6a71652bf98ffcf62d602f82b.tar.gz
doc: update variant usage
* doc/bison.texi, examples/variant.yy: Use "%define api.value.type variant", instead of "%define variant".
Diffstat (limited to 'examples')
-rw-r--r--examples/variant.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/variant.yy b/examples/variant.yy
index 25f476a5..33db3512 100644
--- a/examples/variant.yy
+++ b/examples/variant.yy
@@ -19,8 +19,8 @@
%skeleton "lalr1.cc"
%defines
%define api.token.constructor
+%define api.value.type variant
%define parse.assert
-%define variant
%locations
%code requires // *.hh