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/exception.clj | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cljcc/exception.clj') diff --git a/src/cljcc/exception.clj b/src/cljcc/exception.clj index 6eec308..9ea5f31 100644 --- a/src/cljcc/exception.clj +++ b/src/cljcc/exception.clj @@ -7,3 +7,6 @@ (defn parser-error [msg data] (throw (ex-info msg (merge {:error/type :parser} data)))) + +(defn analyzer-error [msg data] + (throw (ex-info msg (merge {:error/type :analyzer} data)))) -- cgit v1.2.3