Cleaned up a bit

This commit is contained in:
ceriel
1991-03-13 13:49:56 +00:00
parent fbb59e601f
commit 11e54ac11f
13 changed files with 112 additions and 177 deletions

View File

@@ -78,7 +78,11 @@ statement(register t_node **pnd;)
|
ForStatement(pnd)
|
WithStatement(pnd)
WITH { *pnd = nd = dot2leaf(Stat); }
designator(&(nd->nd_LEFT))
DO
StatementSequence(&(nd->nd_RIGHT))
END
|
EXIT
{ if (!loopcount) error("EXIT not in a LOOP");
@@ -247,7 +251,6 @@ LoopStatement(t_node **pnd;):
StatementSequence(&((*pnd)->nd_RIGHT))
END
;
*/
WithStatement(t_node **pnd;)
{
@@ -259,6 +262,7 @@ WithStatement(t_node **pnd;)
StatementSequence(&(nd->nd_RIGHT))
END
;
*/
ReturnStatement(t_node **pnd;)
{