summaryrefslogtreecommitdiff
path: root/tests/sets.at
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@ces.clemson.edu>2006-08-18 21:43:18 +0000
committerJoel E. Denny <jdenny@ces.clemson.edu>2006-08-18 21:43:18 +0000
commit6d0ef4ec2078687dc9217ae51eea397ce7443a3d (patch)
tree0bdbee8c5fe20709272f0cbe640f9b03d4ca1ed4 /tests/sets.at
parent965537bc543191a048b6afb2404c878f06ab877f (diff)
downloadbison-6d0ef4ec2078687dc9217ae51eea397ce7443a3d.tar.gz
Redo some of the previous commit: add back the ability to use
non-aliased/undeclared string literals since it might be useful to those declaring %token-table. * src/reader.c (check_and_convert_grammar): Undo changes in previous commit: don't worry about complaints from symbols_pack. * src/symtab.c (symbol_new, symbol_class_set, symbol_check_alias_consistency): Undo changes in previous commit: count each string literal as a new symbol and token, assign it a symbol number, and don't complain about non-aliased string literals. (symbols_pack): Since symbol_make_alias still does not decrement symbol and token counts but does still set aliased tokens to the same number, symbol_pack_processor now leaves empty slots in the symbols array. Remove those slots. * tests/regression.at (Undeclared string literal): Remove test case added in previous commit since non-aliased string literals are allowed again. (Characters Escapes, Web2c Actions): Undo changes in previous commit: remove unnecessary string literal declarations. * tests/sets.at (Firsts): Likewise.
Diffstat (limited to 'tests/sets.at')
-rw-r--r--tests/sets.at1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/sets.at b/tests/sets.at
index 941d0cc2..a731315b 100644
--- a/tests/sets.at
+++ b/tests/sets.at
@@ -196,7 +196,6 @@ AT_DATA([input.y],
[[%nonassoc '<' '>'
%left '+' '-'
%right '^' '='
-%token EXP "exp"
%%
exp:
exp '<' exp