summaryrefslogtreecommitdiff
path: root/tests/existing.at
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-08-28 03:46:37 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-08-28 08:04:11 -0400
commitf37495f6013afcfe355bb312215448d1b8b04bb2 (patch)
tree279fb3122c542f4ce1c922b5e7c02da0bca621ec /tests/existing.at
parent3a414bbfa049a2f6e0f497a230bd86fe96a87884 (diff)
downloadbison-f37495f6013afcfe355bb312215448d1b8b04bb2.tar.gz
%define: accept unquoted values.
* NEWS (2.5): Group all %define changes together, and document this one. Remove quotes in IELR and canonical LR entry. * doc/bison.texinfo: Remove quotes in most examples throughout. (Decl Summary): Update %define documentation. (Table of Symbols): Likewise. * src/ielr.c (LrType): Update documentation. * src/parse-gram.y (content.opt): Add production for ID. * tests/calc.at: Likewise. * tests/existing.at: Likewise. * tests/input.at: Likewise. * tests/local.at: Likewise. * tests/push.at: Likewise. * tests/reduce.at: Likewise. * tests/torture.at: Likewise. (cherry picked from commit cf499cff31eabd04e37107484647bdd453137d1d) Conflicts: doc/bison.texinfo src/parse-gram.c src/parse-gram.h tests/actions.at tests/calc.at
Diffstat (limited to 'tests/existing.at')
-rw-r--r--tests/existing.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/existing.at b/tests/existing.at
index 5a897324..ba06626b 100644
--- a/tests/existing.at
+++ b/tests/existing.at
@@ -42,18 +42,18 @@ AT_CHECK([[diff -u input-lalr.output input.output \
[[0]], [$1])])
AT_TEST_TABLES_AND_PARSE([$2[: LALR(1)]], [[LALR]], [[last-state]],
- [[%define lr.type "lalr"
+ [[%define lr.type lalr
]$3],
[$4], [$5], [$6], [$7],
[AT_LALR1_DIFF_CHECK([$8])$9], [$10], [$11], [$12])
AT_TEST_TABLES_AND_PARSE([$2[: IELR(1)]], [[IELR]], [[last-state]],
- [[%define lr.type "ielr"
+ [[%define lr.type ielr
]$3],
[$4], [$5], [$6], [$7],
[AT_LALR1_DIFF_CHECK([$8])$9], [$10], [$11], [$12])
AT_TEST_TABLES_AND_PARSE([$2[: Canonical LR(1)]], [[canonical LR]],
[[last-state,no-xml]],
- [[%define lr.type "canonical-lr"
+ [[%define lr.type canonical-lr
]$3],
[$4], [$5], [$6], [$7],
[$9], [$10], [$11], [$12])