src/Lexer.cc

changeset 108
6409ece8297c
parent 105
6dbac3305614
child 110
7a7a53f1d51b
--- a/src/Lexer.cc	Tue Feb 11 03:29:03 2014 +0200
+++ b/src/Lexer.cc	Wed Feb 12 06:15:11 2014 +0200
@@ -129,7 +129,7 @@
 
 	if (VERSION_NUMBER < MAKE_VERSION_NUMBER (major, minor, patch))
 		Error ("The script file requires " APPNAME " v%1, this is v%2",
-			MakeVersionString (major, minor, patch), GetVersionString (EShortForm));
+			MakeVersionString (major, minor, patch), GetVersionString (false));
 
 	return true;
 }
@@ -224,7 +224,7 @@
 
 // =============================================================================
 //
-int Lexer::GetOneSymbol (const StringList& syms)
+int Lexer::GEXPRSYM_tOne (const StringList& syms)
 {
 	if (!GetNext())
 		Error ("unexpected EOF");
@@ -331,4 +331,4 @@
 String Lexer::DescribeTokenPosition()
 {
 	return Format ("%1 / %2", mTokenPosition - mTokens.begin(), mTokens.Size());
-}
\ No newline at end of file
+}

mercurial