From 55824225ba78d338921aa4dcd7001f5d917a8856 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 23 Dec 2012 17:35:04 +0200 Subject: [PATCH] Fixed issue in 536bde4 --- Library/MathParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/MathParser.cpp b/Library/MathParser.cpp index d5ce22b9..c416ac15 100644 --- a/Library/MathParser.cpp +++ b/Library/MathParser.cpp @@ -627,12 +627,12 @@ Token GetNextToken(Lexer& lexer) { lexer.token = Token::Name; lexer.name = lexer.string; - lexer.nameLen = lexer.string - lexer.name; do { lexer.charType = GetCharType(*++lexer.string); } while (lexer.charType <= CharType::Digit); + lexer.nameLen = lexer.string - lexer.name; } break;