From 9a7f6c4a58e63ecc415dc14eebd208a9b4e5cebe Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 23 Nov 2003 14:21:58 +0000 Subject: =?UTF-8?q?Last=20push=20to=20Basic=20LUA=20impl=E9mentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3