fix prefix underscores in identifiers in lua syntax

This commit is contained in:
liquidex 2024-06-18 20:41:10 +02:00
parent acb5a44866
commit 846e2a564c

View file

@ -18,7 +18,10 @@
"is": "literal" "is": "literal"
}, },
{ "regex": "0[xX]\\.[0-9a-fA-F]+([pP][-+]?[0-9]+)?", "is": "literal" }, { "regex": "0[xX]\\.[0-9a-fA-F]+([pP][-+]?[0-9]+)?", "is": "literal" },
{ "regex": "[0-9_]+(\\.[0-9_]*([eE][-+]?[0-9_]+)?)?", "is": "literal" }, {
"regex": "[0-9][0-9_]+(\\.[0-9_]*([eE][-+]?[0-9_]+)?)?",
"is": "literal"
},
{ {
"regex": "<([a-zA-Z_][a-zA-Z0-9_]*)>", "regex": "<([a-zA-Z_][a-zA-Z0-9_]*)>",
"is": { "is": {