]> git.saurik.com Git - bison.git/commit - ChangeLog
variables: accept dashes.
authorAkim Demaille <demaille@gostai.com>
Mon, 20 Apr 2009 10:24:23 +0000 (12:24 +0200)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 29 Apr 2009 22:50:12 +0000 (18:50 -0400)
commit663ce7bb3e7e325eaa321f22509e6163f1bec4e2
tree0c61a4258d468c476a5d95e334ff04f5cecf18df
parent379261b3fd4e799c37bda6d354e7b8fe582357a6
variables: accept dashes.

* src/scan-gram.l ({id}): Also accept dashes after the initial
letter.
({directive}): Use {id}.
* src/parse-gram.y: Comment and formatting changes.
* doc/bison.texinfo (Symbols): Adjust the lexical definitions of
symbols.
* src/complain.h, src/complain.c (yacc_at): New.
* src/symtab.c (symbol_new): Use yacc_at to report inappropriate
symbol names.
* src/output.c (token_definitions_output): Do not #define token
names with dashes.
(cherry picked from commit 4f646c3794c45940aaf96d5409eff02a2c74978e)

Conflicts:

data/bison.m4
src/parse-gram.y
ChangeLog
doc/bison.texinfo
src/complain.c
src/complain.h
src/output.c
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/scan-gram.l
src/symtab.c