aboutsummaryrefslogtreecommitdiff
path: root/pc.l
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-07-22 20:08:22 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-07-22 20:08:22 -0400
commit54a92f688346f0cbd865ad42d8738fee630fd3b3 (patch)
treeb0cc5257b3b417af60b72ec9e09ff1190bac3a5b /pc.l
parentdb268547e272dada20d7404a25881bef50d3be8d (diff)
Add for do loop
Does not add for loop to parse tree.
Diffstat (limited to 'pc.l')
-rw-r--r--pc.l15
1 files changed, 15 insertions, 0 deletions
diff --git a/pc.l b/pc.l
index e744c4d..1a686d3 100644
--- a/pc.l
+++ b/pc.l
@@ -104,6 +104,21 @@ id [A-Za-z][A-Za-z0-9_]*
return DO;
}
+"for" {
+ debug_print(FOR, NULL);
+ return FOR;
+}
+
+"to" {
+ debug_print(TO, NULL);
+ return TO;
+}
+
+"downto" {
+ debug_print(DT, NULL);
+ return DT;
+}
+
"not" {
debug_print(NOT, NULL);
return NOT;