diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test.cc b/src/test.cc index 91c393b..9a022c4 100644 --- a/src/test.cc +++ b/src/test.cc @@ -541,7 +541,13 @@ virtual int startup() throw (GeneralException) { LuaOutput::pushconstruct(l); l->open_math(); l->declarefunc("print", myprint); - l->load(&Input("particules.lua")); +#if 1 + l->load(&Input("particules.lua"), false); +// l->dump(&Output("particules.out")); + l->call(); +#else + l->load(&Input("particules.out")); +#endif l->call("testing"); delete l; |