We did it
This commit is contained in:
@ -924,7 +924,11 @@ expression:
|
||||
$$=$2;
|
||||
}
|
||||
|
||||
| RESERVE assignable
|
||||
// TODO: We need to type check this.
|
||||
| RESERVE ID {$$ = undefined; }
|
||||
| RELEASE ID {$$ = undefined; }
|
||||
| RESERVE ID L_PAREN argument_list R_PAREN {$$ = undefined; }
|
||||
| RELEASE ID L_PAREN argument_list R_PAREN
|
||||
{
|
||||
int d = getAdInfoType((TableNode*)$2);
|
||||
if(d == TYPE_ARRAY ||d == TYPE_RECORD) {
|
||||
@ -937,6 +941,7 @@ expression:
|
||||
$$=undefined;
|
||||
}
|
||||
}
|
||||
/*
|
||||
| RELEASE assignable
|
||||
{
|
||||
int d = getAdInfoType((TableNode*)$2);
|
||||
@ -950,6 +955,7 @@ expression:
|
||||
$$=undefined;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
;
|
||||
|
||||
|
@ -19,7 +19,7 @@ entry (arg) := {
|
||||
result := 9;
|
||||
}(* *)
|
||||
} else {
|
||||
result := 1; (* bar('c', 7); *)
|
||||
result := bar('c', 7);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user