From: <geo...@us...> - 2012-10-02 18:34:31
|
Revision: 5274 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=5274&view=rev Author: geoffthemedio Date: 2012-10-02 18:34:22 +0000 (Tue, 02 Oct 2012) Log Message: ----------- -Added ^ character to lexer, allowing its use in expressions in scripts. -minor grooming Modified Paths: -------------- trunk/FreeOrion/parse/Double.cpp trunk/FreeOrion/parse/Int.cpp trunk/FreeOrion/parse/Lexer.cpp Modified: trunk/FreeOrion/parse/Double.cpp =================================================================== --- trunk/FreeOrion/parse/Double.cpp 2012-10-02 18:07:54 UTC (rev 5273) +++ trunk/FreeOrion/parse/Double.cpp 2012-10-02 18:34:22 UTC (rev 5274) @@ -2,7 +2,5 @@ namespace parse { - double_parser_rule double_; - } Modified: trunk/FreeOrion/parse/Int.cpp =================================================================== --- trunk/FreeOrion/parse/Int.cpp 2012-10-02 18:07:54 UTC (rev 5273) +++ trunk/FreeOrion/parse/Int.cpp 2012-10-02 18:34:22 UTC (rev 5274) @@ -2,7 +2,5 @@ namespace parse { - int_parser_rule int_; - } Modified: trunk/FreeOrion/parse/Lexer.cpp =================================================================== --- trunk/FreeOrion/parse/Lexer.cpp 2012-10-02 18:07:54 UTC (rev 5273) +++ trunk/FreeOrion/parse/Lexer.cpp 2012-10-02 18:34:22 UTC (rev 5274) @@ -73,6 +73,7 @@ | '-' | '*' | '/' + | '^' | '.' | ',' | '(' |