From 350bfd5e9eae6fd46ccfd9de74fd8b0375fd22c0 Mon Sep 17 00:00:00 2001 From: Alexander Gladysh Date: Thu, 22 Jan 2009 09:19:33 +0300 Subject: [PATCH] fixed require in synth sample --- src/samples/synth.mlua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/samples/synth.mlua b/src/samples/synth.mlua index e572b4b..01090ee 100644 --- a/src/samples/synth.mlua +++ b/src/samples/synth.mlua @@ -553,8 +553,8 @@ end -- Read a file, get its AST, use synth to regenerate sources -- from that AST -------------------------------------------------------------------------------- -require 'mlc' +require 'metalua.compiler' local filename = (arg[2] or arg[1]) or arg[0] local ast = mlc.luafile_to_ast (filename) -print(synth.run(ast)) \ No newline at end of file +print(synth.run(ast)) -- 2.44.0