From: Brendan Hansen Date: Sun, 10 Jan 2021 17:14:00 +0000 (-0600) Subject: small improvements X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=1c001fc6aa7e8cf1f523765b837259e53b9d6d42;p=onyx.git small improvements --- diff --git a/bin/onyx b/bin/onyx index d037de2b..31d17195 100755 Binary files a/bin/onyx and b/bin/onyx differ diff --git a/misc/onyx-windows.sublime-build b/misc/onyx-windows.sublime-build index ac349e9f..041dd38c 100644 --- a/misc/onyx-windows.sublime-build +++ b/misc/onyx-windows.sublime-build @@ -1,6 +1,6 @@ { "target": "exec", - "shell_cmd": "\\dev\\onyx\\onyx.exe -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"", + "shell_cmd": "\\dev\\onyx\\onyx.exe -V -o \"${folder}\\\\${file_base_name}.wasm\" \"$file\"", "working_dir": "${folder}", "selector": "source.onyx", "file_regex": "^\\(([^:]+:[^:]+):([0-9]+),([0-9]+)\\) (.*)", diff --git a/onyx.exe b/onyx.exe index e5ff0df1..b74bf61e 100644 Binary files a/onyx.exe and b/onyx.exe differ diff --git a/src/onyxsymres.c b/src/onyxsymres.c index e6dbfdcc..746f967c 100644 --- a/src/onyxsymres.c +++ b/src/onyxsymres.c @@ -25,8 +25,8 @@ static void symres_directive_solidify(AstDirectiveSolidify** psolid); static void symres_statement_chain(AstNode** walker); static b32 symres_statement(AstNode** stmt); static void symres_block(AstBlock* block); -void symres_function_header(AstFunction* func); -void symres_function(AstFunction* func); +static void symres_function_header(AstFunction* func); +static void symres_function(AstFunction* func); static void symres_global(AstGlobal* global); static void symres_overloaded_function(AstOverloadedFunction* ofunc); static void symres_use_package(AstUsePackage* package);