summaryrefslogtreecommitdiff
path: root/boot/definitions.inc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-05-08 00:13:07 +0200
committerEugen Wissner <belka@caraus.de>2025-05-08 00:13:07 +0200
commit3f11d63a0f86191f010bc0093ee8616c154d9a1b (patch)
tree24b2412bab652d6580c77f518806c7bfc1172f94 /boot/definitions.inc
parent40701008f04f2242ab69bfb4bc4f376e6b75429a (diff)
downloadelna-3f11d63a0f86191f010bc0093ee8616c154d9a1b.tar.gz
Add builtin symbols
Diffstat (limited to 'boot/definitions.inc')
-rw-r--r--boot/definitions.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/boot/definitions.inc b/boot/definitions.inc
index 97f6601..42a7943 100644
--- a/boot/definitions.inc
+++ b/boot/definitions.inc
@@ -2,6 +2,10 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.
+#
+# Tokens.
+#
+
# The constant should match the index in the keywords array in tokenizer.s.
.equ TOKEN_PROGRAM, 1
@@ -52,3 +56,8 @@
.equ TOKEN_ASSIGN, 43
.equ TOKEN_INTEGER, 44
+
+#
+# Symbols.
+#
+.equ TYPE_PRIMITIVE, 1