Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #11132 calls to substr_count had args in wrong order
Submitted: 2007-05-24 18:32 UTC
From: urkle Assigned: urkle
Status: Closed Package: PHP_LexerGenerator (version 0.3.1)
PHP Version: 5.1.6 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2007-05-24 18:32 UTC] urkle (Edward Rudd)
Description: ------------ There are 4 more calls in Parser.y/Parser.php that have the parameters in the wrong order, they are called with needle, haystack instead of haystack, needle. The side effect is that the generated lexer does not correctly count lines.

Comments

 [2007-06-17 05:32 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.