mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2025-01-22 05:11:39 +01:00
Fix notices when generating expected tokens list (continued)
Forgot to add regenerated parser
This commit is contained in:
parent
09c106d11f
commit
01123ae6af
@ -25,7 +25,9 @@ Version 0.9.4-dev
|
||||
|
||||
* An interface for the node traversation has been added: `PHPParser_NodeTraverserInterface`
|
||||
|
||||
* Fix pretty printing of `include` expressions (precedence information was missing)
|
||||
* Fix pretty printing of `include` expressions (precedence information was missing).
|
||||
|
||||
* Fix "undefined index" notices when generating the expected tokens for a syntax error.
|
||||
|
||||
Version 0.9.3 (22.11.2012)
|
||||
--------------------------
|
||||
|
@ -1075,7 +1075,7 @@ class PHPParser_Parser
|
||||
$n = $base + $i;
|
||||
if ($n >= 0 && $n < self::YYLAST && self::$yycheck[$n] == $i
|
||||
|| $state < self::YY2TBLSTATE
|
||||
&& ($n = self::$yybase[$state + self::YYNLSTATES] + $i)
|
||||
&& ($n = self::$yybase[$state + self::YYNLSTATES] + $i) >= 0
|
||||
&& $n < self::YYLAST && self::$yycheck[$n] == $i
|
||||
) {
|
||||
if (self::$yyaction[$n] != self::YYUNEXPECTED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user