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  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 - 25 = ?

 
 [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.