diff options
Diffstat (limited to 'src/libraries')
-rw-r--r-- | src/libraries/Runnr.c | 2 | ||||
-rw-r--r-- | src/libraries/Runnr.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libraries/Runnr.c b/src/libraries/Runnr.c index fb6bb5a..8d84543 100644 --- a/src/libraries/Runnr.c +++ b/src/libraries/Runnr.c | |||
@@ -423,6 +423,8 @@ static void _compileThread(void *data, Ecore_Thread *thread) | |||
423 | FILE *out; | 423 | FILE *out; |
424 | int err; | 424 | int err; |
425 | 425 | ||
426 | if (compiler->parser) compiler->parser(compiler); | ||
427 | |||
426 | strcpy(name, compiler->luaName); | 428 | strcpy(name, compiler->luaName); |
427 | if ((L = luaL_newstate())) | 429 | if ((L = luaL_newstate())) |
428 | { | 430 | { |
diff --git a/src/libraries/Runnr.h b/src/libraries/Runnr.h index 6fe7a11..f5f6960 100644 --- a/src/libraries/Runnr.h +++ b/src/libraries/Runnr.h | |||
@@ -36,6 +36,7 @@ typedef struct _LuaCompile | |||
36 | int bugCount; | 36 | int bugCount; |
37 | void *data; | 37 | void *data; |
38 | Ecore_Con_Client *client; | 38 | Ecore_Con_Client *client; |
39 | compileCb parser; | ||
39 | compileCb cb; | 40 | compileCb cb; |
40 | } LuaCompiler; | 41 | } LuaCompiler; |
41 | 42 | ||