aboutsummaryrefslogtreecommitdiff
path: root/src/Fun/Generator.hs
diff options
context:
space:
mode:
authorMarvin Borner2022-03-05 22:42:27 +0100
committerMarvin Borner2022-03-05 22:42:27 +0100
commit13b00d16f1bec54002897b27fa1b78f4da281160 (patch)
treea305ca53b17975af488aff6be1ef9d8c54210ce7 /src/Fun/Generator.hs
parent61f1e8d2b1889ae13f5ca6fccf5776faa7e8a0ef (diff)
Better function call parsing
Diffstat (limited to 'src/Fun/Generator.hs')
-rw-r--r--src/Fun/Generator.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fun/Generator.hs b/src/Fun/Generator.hs
index 17f47e3..a3c2728 100644
--- a/src/Fun/Generator.hs
+++ b/src/Fun/Generator.hs
@@ -8,6 +8,6 @@ import Fun.Typer
data GenerateError = GenerateError String
generateAsm :: Tree -> Either GenerateError String
--- generateAsm (Tree t) = Right $ show t
-generateAsm t =
- Left $ GenerateError $ show $ getFunction t "_start" [InternalType "_void"]
+generateAsm (Tree t) = Right $ show t
+-- generateAsm t =
+-- Left $ GenerateError $ show $ getFunction t "_start" [InternalType "_void"]