Skip to content

Commit 93c6711

Browse files
committed
Fix ExpressionParser throwing with non-ASCII characters.
Fixes #39
1 parent edf95d6 commit 93c6711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ContractConfigurator/ExpressionParser/ExpressionParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ public Token ParseToken()
729729
}
730730

731731
// Try to parse an identifier
732-
if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z')
732+
if (char.IsLetter(c))
733733
{
734734
return ParseIdentifier();
735735
}

0 commit comments

Comments
 (0)