]> git.saurik.com Git - bison.git/commit
scanner: reintroduce unput for missing end tokens
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Thu, 15 Nov 2012 17:10:35 +0000 (17:10 +0000)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Thu, 27 Dec 2012 16:57:03 +0000 (17:57 +0100)
commitc1b2677ad0a0a507010fa7dde5ff07dbe4596a10
tree5e2999f8f63b7b924a8ade23524e28cb9bada7e6
parent11aef5e95b890364474c49c7d4529de2bec3544e
scanner: reintroduce unput for missing end tokens

Unput was no longer used since a POSIX-compatiblity issue with Flex 2.5.31,
which has been adressed in newer versions of Flex.  See this discussion:
<http://lists.gnu.org/archive/html/bug-bison/2003-04/msg00029.html>

This partially reverts commit aa4180418fff518198e1b0f2c43fec6432210dc7.

* src/scan-gram.l (unexpected_end): Here.
* tests/input.at: Adjust for new order of error reports.
src/scan-gram.l
tests/input.at