Regular expression interpolations; fixed bug in string interpolations when all tokens were identifiers.

This commit is contained in:
Stan Angeloff
2010-03-08 20:05:02 +02:00
parent 830d1fb42b
commit 81af8f296e
6 changed files with 146 additions and 57 deletions

View File

@@ -1192,7 +1192,7 @@ TAB: ' '
TRAILING_WHITESPACE: /\s+$/gm
# Keep this identifier regex in sync with the Lexer.
IDENTIFIER: /^[a-zA-Z$_](\w|\$)*$/
IDENTIFIER: /^[a-zA-Z\$_](\w|\$)*$/
# Utility Functions
# -----------------