Commit 34067cd7 authored by Moses Nakamura's avatar Moses Nakamura

omg it's magic

parent 4feb123d
......@@ -36,8 +36,7 @@ import CxxGenerator
main::IO()
main = do
args <- getArgs
let (lang : files) = args
(lang : files) <- getArgs
handleFiles (generatorFnFor lang) files
handleFiles (Right fn) files = mapM_ (handleFile fn) files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment