Skip to content

Commit e93942b

Browse files
committed
Output parsed syntax when verbose
1 parent a981628 commit e93942b

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
@@ -105,6 +105,7 @@ process flags fname input = do
105105
Left s -> die s
106106

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

0 commit comments

Comments
 (0)