aboutsummaryrefslogtreecommitdiff
path: root/consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'consts.h')
-rw-r--r--consts.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/consts.h b/consts.h
new file mode 100644
index 0000000..a4f4ae3
--- /dev/null
+++ b/consts.h
@@ -0,0 +1,13 @@
+#ifndef CONSTS_H
+#define CONSTS_H
+
+enum ErrCode {
+ SYN_ERR_NOT_AN_ID,
+ SYN_ERR_CAN_NOT_APPLY,
+ SYN_ERR_ID_EXPECTED,
+ SYN_ERR_UNBOUND_VAR
+};
+
+extern const char *SYN_ERR_MSG[];
+
+#endif