repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lexer met line numbers
[cc1516.git]
/
src
/
parse.dcl
diff --git
a/src/parse.dcl
b/src/parse.dcl
index
55d8a95
..
aca0ba4
100644
(file)
--- a/
src/parse.dcl
+++ b/
src/parse.dcl
@@
-5,7
+5,7
@@
from Data.Maybe import :: Maybe
import lex
import lex
-:: ParserOutput :== Either
String
AST
+:: ParserOutput :== Either
Error
AST
:: AST = AST [VarDecl] [FunDecl]
:: VarDecl = VarDecl Type String Expr
:: AST = AST [VarDecl] [FunDecl]
:: VarDecl = VarDecl Type String Expr