[opengtl-commits] [177] fix compilation for gcc 4.3 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 177
Author: cyrille
Date: 2008-05-19 13:42:49 +0200 (Mon, 19 May 2008)
Log Message:
-----------
fix compilation for gcc 4.3
Modified Paths:
--------------
trunk/OpenGTL/OpenGTL/GTLCore/LexerBase_p.cpp
Modified: trunk/OpenGTL/OpenGTL/GTLCore/LexerBase_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/LexerBase_p.cpp 2008-05-19 11:34:46 UTC (rev 176)
+++ trunk/OpenGTL/OpenGTL/GTLCore/LexerBase_p.cpp 2008-05-19 11:42:49 UTC (rev 177)
@@ -155,7 +155,10 @@
identifierStr= lastChar;
bool integer = true;
bool exponent = false;
- while (not eof() and isdigit((lastChar = getNextChar())) or lastChar == '.' or (lastChar == 'e' and not exponent ) or (exponent and lastChar =='-' ) )
+ while (not eof()
+ and ( isdigit((lastChar = getNextChar()))
+ or lastChar == '.' or (lastChar == 'e' and not exponent )
+ or (exponent and lastChar =='-' ) ) )
{
identifierStr += lastChar;
if( lastChar == '.' )