mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 21:10:37 +00:00
Merge branch 'master' into merge
This commit is contained in:
commit
55d7a9912d
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@
|
||||||
var indentUnit = 4;
|
var indentUnit = 4;
|
||||||
|
|
||||||
function prefixRE(words) {
|
function prefixRE(words) {
|
||||||
return new RegExp("^(?:" + words.join("|") + ")", "i");
|
return new RegExp("^(?:" + words.join("|") + ")");
|
||||||
}
|
}
|
||||||
function wordRE(words) {
|
function wordRE(words) {
|
||||||
return new RegExp("^(?:" + words.join("|") + ")$", "i");
|
return new RegExp("^(?:" + words.join("|") + ")$");
|
||||||
}
|
}
|
||||||
var specials = wordRE(parserConfig.specials || ["type"]);
|
var specials = wordRE(parserConfig.specials || ["type"]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue