summaryrefslogtreecommitdiff
path: root/include/mlimits.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/mlimits.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/mlimits.h b/include/mlimits.h
new file mode 100644
index 0000000..12318be
--- /dev/null
+++ b/include/mlimits.h
@@ -0,0 +1,21 @@
+/* Copyright (c) 2024 Freya Murphy */
+
+#ifndef __MLIMITS_H__
+#define __MLIMITS_H__
+
+/* Specifies how long a ident, register,
+ * instruction name, or any type of variable
+ * length text can be inside the lexer.
+ */
+#ifndef MAX_LEX_LENGTH
+#define MAX_LEX_LENGTH 24
+#endif
+
+/* Specifices how many max arguments a
+ * given directive can hold
+ */
+#ifndef MAX_ARG_LENGTH
+#define MAX_ARG_LENGTH 12
+#endif
+
+#endif /* __MLIMITS_H__ */