From 54a92f688346f0cbd865ad42d8738fee630fd3b3 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 22 Jul 2019 20:08:22 -0400 Subject: Add for do loop Does not add for loop to parse tree. --- pc.l | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pc.l') 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; -- cgit v1.1