Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit 326083e

Browse files
committed
support constants in other languages supported by browser
1 parent 3d5bd38 commit 326083e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lexer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ var str_dsym = STR_FUNC_SYMBOL | STR_FUNC_EXPAND;
283283

284284
function ISUPPER (c)
285285
{
286-
return 'A' <= c && c <= 'Z';
286+
return ('A' <= c && c <= 'Z') || c.toLowerCase() != c;
287287
}
288288
function ISALPHA (c)
289289
{

0 commit comments

Comments
 (0)