diff --git a/lib/compiler/passes/generate-js.js b/lib/compiler/passes/generate-js.js index 4b9124d..acd55fe 100644 --- a/lib/compiler/passes/generate-js.js +++ b/lib/compiler/passes/generate-js.js @@ -1315,6 +1315,8 @@ function generateJS(ast, options) { toplevelCode, "", "export " + generateParserExports() + ";", + "", + "export default " + generateParserObject() + ";", "" );