repositories
/
cc1516.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0deec3b
)
hoig
author
Mart Lubbers
<mart@martlubbers.net>
Wed, 2 Mar 2016 08:49:47 +0000
(09:49 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Wed, 2 Mar 2016 08:49:47 +0000
(09:49 +0100)
src/lex.icl
patch
|
blob
|
history
diff --git
a/src/lex.icl
b/src/lex.icl
index
b3c76cd
..
a797b1c
100644
(file)
--- a/
src/lex.icl
+++ b/
src/lex.icl
@@
-18,6
+18,8
@@
lexProgram :: Parser Char [Token]
lexProgram = catMaybes <$> some lexToken <* eof
>>= \ts->pure $ (map (\t->(0, 0, t)) ts)
+//Of hier een record van maken
+//lexToken :: Parser Char (Maybe (Int, Int, Int, TokenValue))
lexToken :: Parser Char (Maybe TokenValue)
lexToken =
//Comments