repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of github.com:dopefishh/cc1516
[cc1516.git]
/
lex.dcl
diff --git
a/lex.dcl
b/lex.dcl
index
e78d495
..
a6cf7c6
100644
(file)
--- a/
lex.dcl
+++ b/
lex.dcl
@@
-3,10
+3,9
@@
definition module lex
from Data.Either import :: Either
from yard import :: Error
-:: Token = {
- line :: Int,
- column :: Int,
- token :: TokenValue}
+from AST import :: Pos
+
+:: Token :== (Pos, TokenValue)
:: TokenValue
//Value tokens
= IdentToken String // Identifier