aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/parser.clj
diff options
context:
space:
mode:
authorShagun Agrawal <agrawalshagun07@gmail.com>2024-11-07 01:53:11 +0530
committerShagun Agrawal <agrawalshagun07@gmail.com>2024-11-07 01:53:11 +0530
commit206ebed329abcecbb46418ad2cec2afe7386e1d1 (patch)
tree7bea7aae32613fff0827068d76aa6e70a7a62e1d /src/cljcc/parser.clj
parenta9e828cc6aeab1400217d2af9fa20c93b2183baa (diff)
Add resolving and typechecking for storage classes
Diffstat (limited to 'src/cljcc/parser.clj')
-rw-r--r--src/cljcc/parser.clj5
1 files changed, 0 insertions, 5 deletions
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.