Support token dollar in variable name

This fixes mods like trapshooting not working because of a '$' in a variable name
This commit is contained in:
smallmodel 2024-09-08 18:03:43 +02:00
parent 4e3ec52673
commit 4249cacf2f
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -191,7 +191,7 @@ static bool UseField( void )
string ([^\\\"\r\n]|\\.)*
identifier [^\{\}\(\)\[\]\r\n\,:; \t]
alphanum [a-zA-Z0-9_]+
varname [a-zA-Z0-9_\"]+
varname [a-zA-Z0-9_\"\$]+
%%