Skip to content
Snippets Groups Projects
Commit ec5cbb84 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix compile issue in previous commit. Add more semicolons.

One can't have too many semicolons.
parent 1decdc69
No related branches found
No related tags found
No related merge requests found
Pipeline #31 passed
......@@ -261,13 +261,13 @@ static bool native_executable(scfg_t* cfg, const char* cmdline, long mode)
#define XTRN_LOADABLE_MODULE(cmdline,startup_dir) \
if(cmdline[0]=='*') /* Baja module or JavaScript */ \
return(exec_bin(cmdline+1,&main_csi,startup_dir))
return(exec_bin(cmdline+1,&main_csi,startup_dir));
#ifdef JAVASCRIPT
#define XTRN_LOADABLE_JS_MODULE(cmdline,mode,startup_dir) \
if(cmdline[0]=='?' && (mode&EX_SH)) \
return(js_execxtrn(cmdline+1, startup_dir)) \
return(js_execxtrn(cmdline+1, startup_dir)); \
if(cmdline[0]=='?') \
return(js_execfile(cmdline+1,startup_dir))
return(js_execfile(cmdline+1,startup_dir));
#else
#define XTRN_LOADABLE_JS_MODULE
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment