diff options
| author | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-11-07 01:53:11 +0530 |
|---|---|---|
| committer | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-11-07 01:53:11 +0530 |
| commit | 206ebed329abcecbb46418ad2cec2afe7386e1d1 (patch) | |
| tree | 7bea7aae32613fff0827068d76aa6e70a7a62e1d /src/cljcc/exception.clj | |
| parent | a9e828cc6aeab1400217d2af9fa20c93b2183baa (diff) | |
Add resolving and typechecking for storage classes
Diffstat (limited to 'src/cljcc/exception.clj')
| -rw-r--r-- | src/cljcc/exception.clj | 3 |
1 files changed, 3 insertions, 0 deletions
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)))) |
