Add 'else if' recognition

This commit is contained in:
Valk Richard Li
2019-09-28 09:01:14 -05:00
committed by GitHub
parent adbec40191
commit bdf1def45a
4 changed files with 28 additions and 4 deletions
+4
View File
@@ -8,6 +8,10 @@ elsif(this_token.type==__elsif)
parse.push(this_token);
return;
}
else if(this_token.type!=__else)
{
exit(0);
}
elsif(this_token.type==__elsif)
{
parse.push(this_token);