aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontend/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/lexer.h')
-rw-r--r--src/frontend/lexer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend/lexer.h b/src/frontend/lexer.h
index d102540..266beea 100644
--- a/src/frontend/lexer.h
+++ b/src/frontend/lexer.h
@@ -20,6 +20,8 @@ enum Keyword
KW_EOF,
KW_OPEN_SQUARE,
KW_CLOSE_SQUARE,
+ KW_OPEN_NORMAL,
+ KW_CLOSE_NORMAL,
KW_PIPE,
KW_SEMI_COLUMN,
KW_STARTING,
@@ -29,6 +31,10 @@ enum Keyword
KW_EXECUTE,
KW_TRANSITIONS,
KW_COMMA,
+ KW_DOT,
+ KW_AND,
+ KW_OR,
+ KW_NOT,
};
struct token
{
@@ -45,6 +51,7 @@ struct token* get_token(char *data,size_t size,enum Keyword type,size_t row,size
void skip_white_space(struct Source *src);
void push_token_into_map(struct token *token,struct Map *map,void *thing);
+void id_token_to_upper_case(struct token *token);
void delete_token(struct token *token);