From e57d3894b1023cf0b2d1f25cb9633b1a79b13763 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 5 Jun 2017 21:44:42 +0430 Subject: fixed some commands --- bruiser/bruiser-extra.h | 56 ++++++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 22 deletions(-) (limited to 'bruiser') diff --git a/bruiser/bruiser-extra.h b/bruiser/bruiser-extra.h index 0bc35ca..554b170 100644 --- a/bruiser/bruiser-extra.h +++ b/bruiser/bruiser-extra.h @@ -91,30 +91,21 @@ std::vector BRUISR_COMMANDS = std::vector LUA_FUNCS = { - "help", + "help()", "quit", "exit", - "list", - "list vars", - "list funcs", - "list structs", - "list classes", - "list unions", - "list records", - "history", - "shell", - "version", - "clear", - "hijack", - "hijack main", - "m0", + "history()", + "version()", + "clear()", + "m0()", "runlua", - "Funcs", - "Vars", - "Arrays", - "Structs", - "Unions", - "Classes", + "Funcs()", + "Vars()", + "Arrays()", + "Structs()", + "Unions()", + "Classes()", + "hijackmain()", "_G", "_VERSION", "assert", @@ -274,7 +265,28 @@ std::vector LUA_FUNCS = "LUA_INIT", "LUA_INIT_5_3", "LUA_PATH", - "LUA_PATH_5_3" + "LUA_PATH_5_3", + "and", + "break", + "do", + "else", + "elseif", + "end", + "false", + "for", + "function", + "if", + "in", + "local", + "nil", + "not", + "or", + "repeat", + "return", + "then", + "true", + "until", + "while" }; /**********************************************************************************************************************/ #endif -- cgit v1.2.3