aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-09-17 11:16:39 +0200
committerHimbeer <himbeer@disroot.org>2024-09-17 18:01:09 +0200
commitfa3aa50a43476a7277931adbc3d2fd3c4e7cf671 (patch)
tree8b88da94d780633b3a7abbe24728825dfdcdf402 /include
parentd1f5ba93d67ff925c840274a3c4f5293ac942a2b (diff)
Define exit codes for lexing, parsing and checking stage errors
Diffstat (limited to 'include')
-rw-r--r--include/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 12829ef..bdf260e 100644
--- a/include/util.h
+++ b/include/util.h
@@ -3,6 +3,9 @@
enum exit_status {
/* EXIT_SUCCESS = 0 (defined in stdlib.h) */
EXIT_USER = 1,
+ EXIT_LEX = 2,
+ EXIT_PARSE = 3,
+ EXIT_CHECK = 4,
EXIT_ABNORMAL = 255,
};