summaryrefslogtreecommitdiff
path: root/src/sys/include/np
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-01 18:38:59 -0400
committerIan Moffett <ian@osmora.org>2025-10-01 18:38:59 -0400
commit3f246bba3ebb8c9df888a65ceca0ee96f597c051 (patch)
treea8f91f94cca13de5afd56257f6d9ac80d682c789 /src/sys/include/np
parenta3ac3a7b214991e3b555145dfc1348c58bf54349 (diff)
np: parse: Parse procedure signature
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/np')
-rw-r--r--src/sys/include/np/ast.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sys/include/np/ast.h b/src/sys/include/np/ast.h
index 9647f53..8e516d7 100644
--- a/src/sys/include/np/ast.h
+++ b/src/sys/include/np/ast.h
@@ -37,6 +37,21 @@
#include <string.h>
/*
+ * Valid program integer types
+ */
+typedef enum {
+ AST_BAD_TYPE,
+ AST_U8,
+ AST_U16,
+ AST_U32,
+ AST_U64,
+ AST_I8,
+ AST_I16,
+ AST_I32,
+ AST_I64
+} ast_itype_t;
+
+/*
* Represents an AST node
*
* @ident: Identifier