grammar: no longer detect and cure missing semicolon at end of actions
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 25 Feb 2013 14:33:55 +0000 (15:33 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 4 Mar 2013 07:29:18 +0000 (08:29 +0100)
commit05e25f2384b96708ffaaf01e77f432736bd99d83
treeda8cc3978062cd8a34ea0a5b23b7deb7dfa570e6
parentf1526426cddd0aaef7f54c583b5a8651f2dad482
grammar: no longer detect and cure missing semicolon at end of actions

Bison 3.0 is already breaking backward compatibility with other
features.  It is an appropriate time to drop this feature.  Note that
it was disabled when --yacc is passed.  See
http://lists.gnu.org/archive/html/bison-patches/2013-02/msg00102.html

Basically, revert e8cd1ad655bcc704b06fb2f191dc3ac1df32b796.

* src/scan-code.l (braces_level, need_semicolon, in_cpp): Remove.
Remove every rule needed to detect and add missing semicolon.
* tests/actions.at (Fix user actions without a trailing semicolon):
Remove.
* NEWS: Adjust.
NEWS
src/scan-code.l
tests/actions.at