aboutsummaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-04-26 21:08:13 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-04-26 21:08:13 +0300
commit966f97ad7c92f559ae54d0214db90c370e3b48eb (patch)
tree5dfadd4f453cb0076039c70b0574e58dee8ff2a4 /src/parser.y
parent930e0f29ff5637f38a878d2e61352b151698a0ea (diff)
downloadposthaste-966f97ad7c92f559ae54d0214db90c370e3b48eb.tar.gz
posthaste-966f97ad7c92f559ae54d0214db90c370e3b48eb.zip
add check against proc calls as statements
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/parser.y b/src/parser.y
index 7aacd39..d053cce 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -9,42 +9,6 @@
#include <posthaste/date.h>
#include <posthaste/ast.h>
-#define FOREACH_TOKEN(M) \
- M(LPAREN) \
- M(RPAREN) \
- M(LSQUARE) \
- M(RSQUARE) \
- M(LCURLY) \
- M(RCURLY) \
- M(APOSTROPHE) \
- M(AMPERSAND) \
- M(COMMA) \
- M(DOT) \
- M(EQ) \
- M(LT) \
- M(PLUS) \
- M(MINUS) \
- M(MULT) \
- M(DIV) \
- M(VAR) \
- M(IS) \
- M(UNLESS) \
- M(OTHERWISE) \
- M(UNTIL) \
- M(DO) \
- M(DONE) \
- M(PROCEDURE) \
- M(FUNCTION) \
- M(RETURN) \
- M(PRINT) \
- M(END) \
- M(STRING) \
- M(DATE_LITERAL) \
- M(INT_LITERAL) \
- M(IDENT) \
- M(FUNC_IDENT) \
- M(PROC_IDENT)
-
%}
%locations