]> git.saurik.com Git - bison.git/commit
scan-skel: use the scanner to reject all invalid directives
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 4 Oct 2012 13:36:00 +0000 (15:36 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 4 Oct 2012 15:13:38 +0000 (17:13 +0200)
commitfc5618b3387fb1311c9d88187655191088f09cc2
tree8e98eb2198aa6646c547b6df235872a923c380b1
parent92f39ba6dc740ac1f9597e256014ae8740b0477d
scan-skel: use the scanner to reject all invalid directives

* src/scan-skel.l: Use a simpler and more consistent pattern escaping
scheme.
Catch all the invalid directives here by just removing the previous
catch-all-but-alphabetical rule.
src/scan-skel.l