safety commit

This commit is contained in:
ceriel
1986-04-09 18:14:49 +00:00
parent 6ef38e3483
commit 6ca5eb658d
13 changed files with 365 additions and 130 deletions

View File

@@ -10,7 +10,7 @@ static char *RcsId = "$Header$";
statement
{
struct node *nd1, *nd2;
struct node *nd1, *nd2 = 0;
} :
[
/*
@@ -21,8 +21,12 @@ statement
designator(&nd1)
[
ActualParameters(&nd2)?
{ nd1 = MkNode(Call, nd1, nd2, &dot);
nd1->nd_symb = '(';
}
|
BECOMES expression(&nd2)
BECOMES { nd1 = MkNode(Stat, nd1, NULLNODE, &dot); }
expression(&(nd1->nd_right))
]
/*
* end of changed part