Tag: cws_ooh680_dba24g
User: oj      
Date: 2008-01-29 08:47:14+0000
Modified:
   dba/connectivity/source/parse/sqlflex.l

Log:
 #i85371# change getc to increment pos

File Changes:

Directory: /dba/connectivity/source/parse/
==========================================

File [changed]: sqlflex.l
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/parse/sqlflex.l?r1=1.32&r2=1.32.58.1
Delta lines:  +6 -4
-------------------
--- sqlflex.l   2007-11-01 14:52:20+0000        1.32
+++ sqlflex.l   2008-01-29 08:47:12+0000        1.32.58.1
@@ -6,9 +6,9 @@
 //
 //  $RCSfile: sqlflex.l,v $
 //
-//  $Revision: 1.32 $
+//  $Revision: 1.32.58.1 $
 //
-//  last change: $Author: hr $ $Date: 2007/11/01 14:52:20 $
+//  last change: $Author: oj $ $Date: 2008/01/29 08:47:12 $
 //
 //  The Contents of this file are made available subject to
 //  the terms of GNU Lesser General Public License Version 2.1.
@@ -736,7 +736,9 @@
 
//------------------------------------------------------------------------------
 sal_Int32 OSQLScanner::SQLyygetc(void)
 {
-       return (m_nCurrentPos >= m_sStatement.getLength()) ? -1 : 
m_sStatement.getStr()[m_nCurrentPos++];
+       sal_Int32 nPos = (m_nCurrentPos >= m_sStatement.getLength()) ? -1 : 
m_sStatement.getStr()[m_nCurrentPos];
+    m_nCurrentPos++;
+    return nPos;
 }
 
 
//------------------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to