CVSROOT: /sources/global Module name: global Branch: Changes by: Shigio YAMAGUCHI <[EMAIL PROTECTED]> 06/02/04 04:35:02
Modified files: . : THANKS gtags-parser : php.l htags : php.l Log message: Fixed the bug reported by Hendrik Visage. Hendrik Visage wrote: There appears to be a "small" hassle with PHP parsing when javascripts get's "pasted" etc. inside the PHP script to the HTTP/html stream. It appears that everything from the javascript closing tag gets ignored by gtags-parser :( See below % cat tt.php <?php function test_acl($agent,$aclevel,$frm) { $resetcounter = <<<EOF <script language="Javascript1.2"> top.seconds = $autologoutseconds; </script> EOF; } } ## returns wkday number for a date function date2wkday($str) { } ?> fastone% diff tt.php tt2.php 8c8 < </script> --- > # </script> fastone% gtags-parser tt.php tt2.php test_acl 3 tt.php function test_acl($agent,$aclevel,$frm) { test_acl 3 tt2.php function test_acl($agent,$aclevel,$frm) { date2wkday 14 tt2.php function date2wkday($str) { CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/global/global/THANKS.diff?tr1=1.59&tr2=1.60&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/gtags-parser/php.l.diff?tr1=1.8&tr2=1.9&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/htags/php.l.diff?tr1=1.17&tr2=1.18&r1=text&r2=text _______________________________________________ Global-commit mailing list Global-commit@gnu.org http://lists.gnu.org/mailman/listinfo/global-commit