Renamed keywords array
This commit is contained in:
parent
a1d3cd3d49
commit
38a2a8a6d4
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ using System.Linq;
|
||||||
|
|
||||||
namespace arookas {
|
namespace arookas {
|
||||||
class sunParser {
|
class sunParser {
|
||||||
static string[] keywords = {
|
static string[] sKeywords = {
|
||||||
"import",
|
"import",
|
||||||
"builtin", "function", "var", "const", "local",
|
"builtin", "function", "var", "const", "local",
|
||||||
"if", "while", "do", "for",
|
"if", "while", "do", "for",
|
||||||
|
@ -235,7 +235,7 @@ namespace arookas {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsKeyword(string name) {
|
public static bool IsKeyword(string name) {
|
||||||
return keywords.Contains(name);
|
return sKeywords.Contains(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue