From 206ebed329abcecbb46418ad2cec2afe7386e1d1 Mon Sep 17 00:00:00 2001 From: Shagun Agrawal Date: Thu, 7 Nov 2024 01:53:11 +0530 Subject: Add resolving and typechecking for storage classes --- src/cljcc/parser.clj | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cljcc/parser.clj') diff --git a/src/cljcc/parser.clj b/src/cljcc/parser.clj index 84e681c..4ae441a 100644 --- a/src/cljcc/parser.clj +++ b/src/cljcc/parser.clj @@ -26,11 +26,6 @@ [_ tokens] (expect end-kind tokens)] [e tokens]))) -(defn- keyword->type [k] - (condp = k - :kw-int "int" - (throw (ex-info "Parser Error. Unsupported type." {:keyword k})))) - (defn- expect "Expects the first token in list to be of given kind. -- cgit v1.2.3