scfc/bison-php — Issue #15: Parser barfs on syntax error in the first token
Author: scfc
Created: 2012-01-11 22:31:50+00:00
State: open

http://article.gmane.org/gmane.comp.parsers.bison.bugs/3602 applies to PHP as well. Possible workaround: Prepend grammar and scanner with dummy token.