fix(compiler): allow numbers for ICU message cases in lexer (#18095)
Closes #18095 Fixes #17799
This commit is contained in:

committed by
Miško Hevery

parent
15a3e2d307
commit
a3a54299af
@ -684,7 +684,7 @@ function isExpansionFormStart(
|
||||
}
|
||||
|
||||
function isExpansionCaseStart(peek: number): boolean {
|
||||
return peek === chars.$EQ || chars.isAsciiLetter(peek);
|
||||
return peek === chars.$EQ || chars.isAsciiLetter(peek) || chars.isDigit(peek);
|
||||
}
|
||||
|
||||
function compareCharCodeCaseInsensitive(code1: number, code2: number): boolean {
|
||||
|
Reference in New Issue
Block a user