]> git.saurik.com Git - bison.git/commit - ChangeLog
Warn about dubious constructions like "%token T T".
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 21:31:57 +0000 (21:31 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 21:31:57 +0000 (21:31 +0000)
commit073f92889fed2bb511833920e841243a749223ca
treebd8161096f5107453286c36be242c35fe60bc945
parent1221b78adb3f243e9afb8096f95218e2b03a4854
Warn about dubious constructions like "%token T T".
* src/symtab.h (struct symbol.declared): New member.
* src/symtab.c (symbol_new): Initialize it to false.
(symbol_class_set): New arg DECLARING, specifying whether
this is a declaration that we want to warn about, if there
is more than one of them.  All uses changed.
ChangeLog
src/parse-gram.y
src/scan-gram.l
src/symtab.c
src/symtab.h