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

omg it's magic

parent 4feb123d
...@@ -36,8 +36,7 @@ import CxxGenerator ...@@ -36,8 +36,7 @@ import CxxGenerator
main::IO() main::IO()
main = do main = do
args <- getArgs (lang : files) <- getArgs
let (lang : files) = args
handleFiles (generatorFnFor lang) files handleFiles (generatorFnFor lang) files
handleFiles (Right fn) files = mapM_ (handleFile fn) 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