mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343094 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
76f007a25f
commit
3e159c5b46
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ foreach ($exp as $in) {
|
|||
$p->consume($in, $lex);
|
||||
|
||||
while (Parser::ACTION_ERROR != $p->action && Parser::ACTION_ACCEPT != $p->action) {
|
||||
switch ($act) {
|
||||
switch ($p->action) {
|
||||
case Parser::ACTION_ERROR:
|
||||
throw new ParserException("Parser error");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue