]> git.lizzy.rs Git - metalua.git/blobdiff - src/compiler/mlc.mlua
fixed metabug mode
[metalua.git] / src / compiler / mlc.mlua
index 6f82ac9a8028b24a6262ae41ee1d3cbe354f8567..e6e7f5d8189b57de1d1cd48bdb8dbec3a6f37447 100644 (file)
@@ -90,9 +90,9 @@ function mlc.convert (x, src_fmt, dst_fmt, name)
    local status -- status = compilation success
    local lx=x
    if mlc.metabugs
-   -- If SHOW_METABUGS is true, errors should be attributed to a parser bug.
+   -- If metabugs is true, errors should be attributed to a parser bug.
    then status, x = true, mlp.chunk (lx)
-   -- If SHOW_METABUGS is false, errors should be attributed to an invalid entry.
+   -- If metabugs is false, errors should be attributed to an invalid entry.
    else status, x = pcall (mlp.chunk, lx) end
    -- FIXME: this test seems wrong ??? Or is it the message?
    if status and lx:peek().tag ~= "Eof"