From: Christiaan Baaij Date: Fri, 19 Jun 2009 11:32:48 +0000 (+0200) Subject: Added main function to Main module X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=2ce159d04deb2858b4851477c85ac5de20ac4117;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git Added main function to Main module --- diff --git a/Main.hs b/Main.hs index 078f46f..42818c0 100644 --- a/Main.hs +++ b/Main.hs @@ -3,4 +3,4 @@ module Main where import Translator main = do - makeVHDL "Adders.hs" "functiontest" True \ No newline at end of file + makeVHDL "Adders.hs" "highordtest2" True \ No newline at end of file diff --git a/Translator.hs b/Translator.hs index 1786332..6b0cdd1 100644 --- a/Translator.hs +++ b/Translator.hs @@ -52,9 +52,6 @@ import FlattenTypes import VHDLTypes import qualified VHDL -main = do - makeVHDL "Adders.hs" "highordtest2" True - makeVHDL :: String -> String -> Bool -> IO () makeVHDL filename name stateful = do -- Load the module