aboutsummaryrefslogtreecommitdiff
path: root/src/as_tokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/as_tokenizer.h')
-rw-r--r--src/as_tokenizer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/as_tokenizer.h b/src/as_tokenizer.h
index fef8625..377aca0 100644
--- a/src/as_tokenizer.h
+++ b/src/as_tokenizer.h
@@ -1,8 +1,11 @@
+#ifndef FMV_AS_TOKENIZER_H_
+#define FMV_AS_TOKENIZER_H_
+
#include <stdint.h>
#include <stdio.h>
typedef enum {
- OP, ARG, LABEL, COLON, NEWLINE, ENDOFFILE
+ OP, ARG, TAG, COLON, NEWLINE, ENDOFFILE
} TokenType;
typedef struct {
@@ -34,3 +37,5 @@ Token *nextToken(TokenStream *ts);
Token *peekToken(TokenStream *ts);
void printToken(Token *t);
TokenStream* makeTokenStream(FILE* fp);
+
+#endif // FMV_AS_TOKENIZER_H_