repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed until inline, comments more clean
[cc1516.git]
/
src
/
parse.icl
diff --git
a/src/parse.icl
b/src/parse.icl
index
56bc554
..
042ec47
100644
(file)
--- a/
src/parse.icl
+++ b/
src/parse.icl
@@
-25,7
+25,7
@@
parser (Right r) = case runParser parseProgram r of
parseProgram :: Parser Token AST
parseProgram = liftM2 AST (many parseVarDecl) (some parseFunDecl)
parseProgram :: Parser Token AST
parseProgram = liftM2 AST (many parseVarDecl) (some parseFunDecl)
-
<* satTok EndOfFileToken
+
//
<* satTok EndOfFileToken
parseFunDecl :: Parser Token FunDecl
parseFunDecl = liftM5 FunDecl
parseFunDecl :: Parser Token FunDecl
parseFunDecl = liftM5 FunDecl