From 42806cdd9b07d769ae7dd2f4e385ace3486c168a Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 19 Jul 2016 12:37:25 -0400 Subject: [PATCH] . --- phase2-parser.lemon | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phase2-parser.lemon b/phase2-parser.lemon index bfe1e66..5d59c93 100644 --- a/phase2-parser.lemon +++ b/phase2-parser.lemon @@ -121,6 +121,15 @@ term(RV) ::= ERROR(C). { } */ +/* +term(RV) ::= error RPAREN. +term(RV) ::= error END. +term(RV) ::= LPAREN error RPAREN. +term(RV) ::= BEGIN error END. +term(RV) ::= IF error END. +term(RV) ::= LOOP error END. +term(RV) ::= FOR error END. +*/ /* compound list ends with a separator. paren command does not need the final separator */ %type paren_list { command_ptr_vector }