From 7140310b4cc538d12c1d1285ce96792aa619adcf Mon Sep 17 00:00:00 2001 From: Shagun Agrawal Date: Sat, 9 Nov 2024 17:27:35 +0530 Subject: Add codegen for storage class specifiers Switch map/filter to eager versions --- 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 9ea5f31..bf98ed4 100644 --- a/src/cljcc/exception.clj +++ b/src/cljcc/exception.clj @@ -10,3 +10,6 @@ (defn analyzer-error [msg data] (throw (ex-info msg (merge {:error/type :analyzer} data)))) + +(defn compiler-error [msg data] + (throw (ex-info msg (merge {:error/type :compiler} data)))) -- cgit v1.2.3