Improve the readability of the produced parsers.
authorAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:03:20 +0000 (09:03 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:03:20 +0000 (09:03 +0000)
commit71da9eeacc05af817ae0eb2d905d74e774aa842d
tree14422250d9cc24ca165b4556818c938d2b174ec3
parent95e36146a5be4c921c14f82ab80e3612866c4518
Improve the readability of the produced parsers.
* src/bison.s1: Formatting changes.
Improve the comment related to the `$' mark.
(yydefault): Don't fall through to `yyresume': `goto' there.
* src/output.c (output_parser): When the `$' is met, skip the end
of its line.
New variable, `number_of_dollar_signs', to check there's exactly
one `$' in the parser skeleton.
ChangeLog
src/bison.s1
src/bison.simple
src/output.c