diff --git a/src/LuaTransformer.ts b/src/LuaTransformer.ts index 0245dccb7..8db628be8 100644 --- a/src/LuaTransformer.ts +++ b/src/LuaTransformer.ts @@ -40,7 +40,7 @@ interface Scope { export class LuaTransformer { public luaKeywords: Set = new Set([ - "and", "break", "do", "else", "elseif", "end", "false", "for", "function", "if", "in", "local", "new", "nil", + "and", "break", "do", "else", "elseif", "end", "false", "for", "function", "if", "in", "local", "nil", "not", "or", "repeat", "return", "self", "then", "until", "while", ]);