This commit is contained in:
Adrian Rudnik 2011-06-29 18:23:00 +02:00
parent 08bbb1938b
commit 19f5d827d2

View File

@ -189,7 +189,7 @@ class Tokenizer
$matchStart = $match[0][1];
if ($matchStart == $pos) {
throw new ParseException(sprintf('Unexpected symbol: %s at %s', $s[$pos], $pos));
throw new Exception\ParseException(sprintf('Unexpected symbol: %s at %s', $s[$pos], $pos));
}
$result = substr($s, $start, $matchStart - $start);