summaryrefslogtreecommitdiff
path: root/directives.h
diff options
context:
space:
mode:
Diffstat (limited to 'directives.h')
-rw-r--r--directives.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/directives.h b/directives.h
new file mode 100644
index 0000000..97d5325
--- /dev/null
+++ b/directives.h
@@ -0,0 +1,39 @@
+/*
+ * This file is generated from directives.dat
+ * by directives.pl; do not edit.
+ */
+
+#ifndef NASM_DIRECTIVES_H
+#define NASM_DIRECTIVES_H
+
+enum directives {
+ D_NONE,
+ D_ABSOLUTE,
+ D_BITS,
+ D_COMMON,
+ D_CPU,
+ D_DEBUG,
+ D_DEFAULT,
+ D_EXTERN,
+ D_FLOAT,
+ D_GLOBAL,
+ D_LIST,
+ D_SECTION,
+ D_SEGMENT,
+ D_WARNING,
+ D_EXPORT,
+ D_GROUP,
+ D_IMPORT,
+ D_LIBRARY,
+ D_MAP,
+ D_MODULE,
+ D_ORG,
+ D_OSABI,
+ D_SAFESEH,
+ D_UPPERCASE
+};
+
+extern const char * const directives[24];
+enum directives find_directive(const char *token);
+
+#endif /* NASM_DIRECTIVES_H */