From 1079bb80281ead2b32f724e750afdda5411e07a8 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Tue, 24 May 2022 17:01:44 -0400 Subject: [PATCH] Remove unused (and incorrect) 2-arity of token fn --- src/ludus/token.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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})