]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
Actually handle the yytable zero value correctly this time.
authorJoel E. Denny <jdenny@clemson.edu>
Wed, 26 Aug 2009 06:40:38 +0000 (02:40 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Wed, 26 Aug 2009 07:05:46 +0000 (03:05 -0400)
commitaa0cb40d61cda5bfa9d325a45735439cbbd06327
tree9369c2008e4c154083eee89536991ab5f1260764
parentf2b30bdf3713e6fa9fafd0fc6caed68e38248ebc
Actually handle the yytable zero value correctly this time.

* data/bison.m4 (b4_integral_parser_tables_map): Don't mention
zero values in the YYTABLE comments.
* data/glr.c (yytable_value_is_error): Don't check for zero
value.
* data/lalr1.cc (yy_table_value_is_error_): Likewise.
* data/yacc.c (yytable_value_is_error): Likewise.
* data/lalr1.java (yy_table_value_is_error_): Likewise.
(yysyntax_error): Fix typo in code: use yytable_ not yycheck_.
* src/tables.h: In header comments, explain why it's useless to
check for a zero value in yytable.
ChangeLog
data/bison.m4
data/glr.c
data/lalr1.cc
data/lalr1.java
data/yacc.c
src/parse-gram.c
src/parse-gram.h
src/tables.c
src/tables.h