summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2003-11-23 14:21:58 +0000
committerpixel <pixel>2003-11-23 14:21:58 +0000
commit9a7f6c4a58e63ecc415dc14eebd208a9b4e5cebe (patch)
tree33704abf093e8e7bef1b449d54577656a8c6f211 /src
parentfae0c2bfe95a122de0f165791690dc18928a931c (diff)
Last push to Basic LUA implémentation
Diffstat (limited to 'src')
-rw-r--r--src/test.cc8
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;