mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
TRIMP(100)_Points in DataFilter
.. the parenthesis caused problems so now treated as a special case in the lexer.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user