cvs: pear /DBA Sql_lex.php
| From: | Brent Cook | Date: | Wed, 17 Jul 2002 07:36:25 +0000 |
| Subject: | cvs: pear /DBA Sql_lex.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5145@lists.php.net to get a copy of this message | ||
busterb Wed Jul 17 03:36:25 2002 EDT
Modified files:
/pear/DBA Sql_lex.php
Log:
removed getCurrLine(); this is in Sql_parser, in a sense
Index: pear/DBA/Sql_lex.php
diff -u pear/DBA/Sql_lex.php:1.12 pear/DBA/Sql_lex.php:1.13
--- pear/DBA/Sql_lex.php:1.12 Wed Jul 17 03:30:10 2002
+++ pear/DBA/Sql_lex.php Wed Jul 17 03:36:25 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: Sql_lex.php,v 1.12 2002/07/17 07:30:10 busterb Exp $
+// $Id: Sql_lex.php,v 1.13 2002/07/17 07:36:25 busterb Exp $
//
include 'DB/DBA/phptype.php';
@@ -84,13 +84,6 @@
return ($c == '<' || $c == '>' || $c == '=');
}
// }}}
-
- function getCurrLine() {
- $end = 0;
- while ($this->string[$this->lineBegin+$end] != "\n")
- ++$end;
- return trim(substr($this->string, $this->lineBegin, $end));
- }
// {{{ lex($this->string)
function lex()