Skip to content

Commit

Permalink
Print message about loaded syntax defs to stderr.
Browse files Browse the repository at this point in the history
Closes #36.
  • Loading branch information
jgm committed Feb 5, 2018
1 parent 414a735 commit fdf966e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ extractDefinitions (Definition fp : xs) = do
case res of
Left e -> err e
Right s -> do
putStrLn $ "Loaded syntax definition for " ++ Text.unpack (sName s)
hPutStrLn stderr $
"Loaded syntax definition for " ++ Text.unpack (sName s)
(s:) <$> extractDefinitions xs
extractDefinitions (_:xs) = extractDefinitions xs

Expand Down

0 comments on commit fdf966e

Please sign in to comment.