diff --git a/src/ludus/token.clj b/src/ludus/token.clj index e3d8d58..abb1192 100644 --- a/src/ludus/token.clj +++ b/src/ludus/token.clj @@ -1,11 +1,9 @@ (ns ludus.token) (defn token - ([type text] - (token type text nil 1)) - ([type text literal line start] + [type text literal line start] {::type type ::lexeme text ::literal literal ::line line - ::start start})) + ::start start})