Skip to content

Commit 5fad9f0

Browse files
committed
Output parsed syntax when verbose
1 parent 5527cbe commit 5fad9f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/app/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ process flags fname input = do
104104
Left s -> die s
105105

106106
when verbose $ do printSep "SYNTAX"
107+
writeFileD "out/out.syntax" (showIndent 2 prog)
107108
putStrLn (showIndent 2 prog)
108109
------------------------------------------------------
109110
prog' <- case runExcept (C.trans compileMode (AF.visitProg prog)) of

0 commit comments

Comments
 (0)