(lloc_default): New function, which handles
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2002 06:01:20 +0000 (06:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2002 06:01:20 +0000 (06:01 +0000)
commitb729552289115a6da0b700896cdc4ab7f4443b1a
tree6e3b92f782081c61acbb3c39ebe73a064935e3b4
parent8f759107f1598d7f1979a160fda566f2fb1a6d5f
(lloc_default): New function, which handles
empty locations more accurately.
(YYLLOC_DEFAULT): Use it.
(%token COLON): Remove.
(%token ID_COLON): New token.
(rules): Use it.
(declarations, rules): Remove trailing semicolon.
(declaration, rules_or_grammar_declaration):
Allow empty (";") declaration.
(symbol_def): Remove empty actions; no longer needed.
(rules_or_grammar_declaration): Remove trailing semicolon.
(semi_colon.opt): Remove.
src/parse-gram.y