aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontend/lexer.h
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-07-14 01:43:40 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:07:29 +0300
commitfbb038282af00eb09bc5a8ef7a0e7a7b76998683 (patch)
treef36565027c4da5edd5c03b53a78db4998b5cfb7c /src/frontend/lexer.h
parent3877ff9860d2cbeda7127d932e45573ff0d9600b (diff)
downloadMEGATRON-fbb038282af00eb09bc5a8ef7a0e7a7b76998683.tar.gz
added ability to attach statements to entry and exit of a given state
Diffstat (limited to 'src/frontend/lexer.h')
-rw-r--r--src/frontend/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/lexer.h b/src/frontend/lexer.h
index 1134739..995a807 100644
--- a/src/frontend/lexer.h
+++ b/src/frontend/lexer.h
@@ -38,6 +38,8 @@ enum Keyword
KW_IF,
KW_ELSE,
KW_GRANTED,
+ KW_ENTERING,
+ KW_EXITING,
};
struct token
{