]> git.saurik.com Git - bison.git/commit - src/symtab.c
* src/parse-gram.y: Include quotearg.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2005 06:32:51 +0000 (06:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2005 06:32:51 +0000 (06:32 +0000)
commitca407bdf9db2d435ca1a4a257b158632d1cb4842
tree993592810985677fa191aa701f8a5b24812c5909
parent506ffb1f7442541ace4623e03d9ba2a6f32a663e
* src/parse-gram.y: Include quotearg.h.
(string_as_id): Quote $1 before using it as a key, since the
lexer no longer quotes it for us.
(string_content): Don't strip quotes, since lexer no longer
quotes it for us.
* src/scan-gram.l: Include quotearg.h.
("\""): Omit quote.
("'"<SC_ESCAPED_CHARACTER>): Quote symbol before using it as
a key, since the rest of the lexer doesn't quote it.
* src/symtab.c (symbol_get): Don't quote symbol; caller does it now.
* tests/regression.at (Token definitions): Check for backslashes
in token strings.
ChangeLog
src/parse-gram.y
src/scan-gram.l
src/symtab.c
tests/regression.at