hafriedlander / php-peg

PEG (parsing expression grammar) compiler for PHP
Other
191 stars 53 forks source link

Bug with pull request #16 #17

Closed ju1ius closed 12 years ago

ju1ius commented 12 years ago

One line I forgot to change:

// in Compiler.php on line 691:
$c = substr($sub, 0, 1);

should become

$c = substr($str, $o, 1);