TRIMP(100)_Points in DataFilter

.. the parenthesis caused problems so now treated as a
   special case in the lexer.
This commit is contained in:
Mark Liversedge
2013-05-05 18:36:51 +01:00
parent 2c12d19982
commit 196d8ce00a

View File

@@ -55,7 +55,8 @@
[-+]?[0-9]+\.[-e0-9]* return FLOAT;
\"([^\"]|\\\")*\" return STRING; /* contains non-quotes or escaped-quotes */
[a-zA-Z0-9][a-zA-Z0-9_%™]+ return SYMBOL; /* symbols can start with 0-9 */
"TRIMP(100)_Points" return SYMBOL; /* special case for trimp 100 */
[a-zA-Z0-9][a-zA-Z0-9_%™]+ return SYMBOL; /* symbols can start with 0-9 */
[ \n\t\r] ; /* we just ignore whitespace */