cvs: php4 /ext/midgard preparser-scanner.l

From: Date: Fri, 23 Feb 2001 01:08:44 +0000
Subject: cvs: php4 /ext/midgard preparser-scanner.l
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4227@lists.php.net to get a copy of this message
davidg Thu Feb 22 17:08:44 2001 EDT Modified files: /php4/ext/midgard preparser-scanner.l Log: misbehavior of the preparser that translated (eg) myeval() into mymgd_eval() Index: php4/ext/midgard/preparser-scanner.l diff -u php4/ext/midgard/preparser-scanner.l:1.3 php4/ext/midgard/preparser-scanner.l:1.4 --- php4/ext/midgard/preparser-scanner.l:1.3 Sat Feb 17 15:21:50 2001 +++ php4/ext/midgard/preparser-scanner.l Thu Feb 22 17:08:43 2001 @@ -1,6 +1,6 @@ %{ -/* $Id: preparser-scanner.l,v 1.3 2001/02/17 23:21:50 emile Exp $ +/* $Id: preparser-scanner.l,v 1.4 2001/02/23 01:08:43 davidg Exp $ Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <emile@iris-advies.com> @@ -207,7 +207,7 @@ mgd_append_byte(mgdlval.gstring, mgdtext); } -<IN_PHP>[^_]"eval"{WHITESPACE}*"(" { +<IN_PHP>[^a-zA-Z0-9_]"eval"{WHITESPACE}*"(" { /* TODO: change the [^_] to make it conditional, so it's not part of the match */ mgd_append_byte(mgd_output_buffer, mgdtext);

« previous php.cvs (#4227) next »