cvs: pear /SQL_Parser Lexer.php

From: Date: Tue, 24 Dec 2002 14:37:01 +0000
Subject: cvs: pear /SQL_Parser Lexer.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7959@lists.php.net to get a copy of this message
busterb Tue Dec 24 09:37:01 2002 EDT Modified files: /pear/SQL_Parser Lexer.php Log: make sys_var return a value along with a type. Index: pear/SQL_Parser/Lexer.php diff -u pear/SQL_Parser/Lexer.php:1.3 pear/SQL_Parser/Lexer.php:1.4 --- pear/SQL_Parser/Lexer.php:1.3 Wed Dec 18 01:43:11 2002 +++ pear/SQL_Parser/Lexer.php Tue Dec 24 09:37:01 2002 @@ -18,7 +18,7 @@ // | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA| // +----------------------------------------------------------------------+ // -// $Id: Lexer.php,v 1.3 2002/12/18 06:43:11 busterb Exp $ +// $Id: Lexer.php,v 1.4 2002/12/24 14:37:01 busterb Exp $ // include 'SQL/ctype.php'; @@ -372,7 +372,7 @@ // {{{ State 19: Complete Sys Var case 19: $this->unget(); - $this->tokText = substr($this->tokStart,$this->tokLen); + $this->tokText = substr($this->string, $this->tokStart,$this->tokLen); $this->tokStart = $this->tokPtr; return 'sys_var'; // }}}

« previous php.pear.cvs (#7959) next »