mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
SPR-7100: '_' supported as first char of identifier
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3254 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+3
@@ -57,6 +57,9 @@ class Tokenizer {
|
||||
case '+':
|
||||
pushCharToken(TokenKind.PLUS);
|
||||
break;
|
||||
case '_': // the other way to start an identifier
|
||||
lexIdentifier();
|
||||
break;
|
||||
case '-':
|
||||
pushCharToken(TokenKind.MINUS);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user