|
@@ -17,8 +17,8 @@ public enum ZSTokenType implements TokenType {
|
17
|
17
|
T_IDENTIFIER("[a-zA-Z_][a-zA-Z_0-9]*"),
|
18
|
18
|
T_FLOAT("\\-?(0|[1-9][0-9]*)\\.[0-9]+([eE][\\+\\-]?[0-9]+)?"),
|
19
|
19
|
T_INT("\\-?(0|[1-9][0-9]*)"),
|
20
|
|
- T_STRING_SQ("\"([^\"\\\\]|\\\\([\'\"\\\\/bfnrt]|u[0-9a-fA-F]{4}))*\""),
|
21
|
|
- T_STRING_DQ("\'([^\'\\\\]|\\\\([\'\"\\\\/bfnrt]|u[0-9a-fA-F]{4}))*\'"),
|
|
20
|
+ T_STRING_SQ("\"([^\"\\\\]|\\\\([\'\"\\\\/bfnrt&]|u[0-9a-fA-F]{4}))*\""),
|
|
21
|
+ T_STRING_DQ("\'([^\'\\\\]|\\\\([\'\"\\\\/bfnrt&]|u[0-9a-fA-F]{4}))*\'"),
|
22
|
22
|
T_AOPEN("\\{"),
|
23
|
23
|
T_ACLOSE("\\}"),
|
24
|
24
|
T_SQOPEN("\\["),
|