aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pc.y23
1 files changed, 0 insertions, 23 deletions
diff --git a/pc.y b/pc.y
index f619655..e4235b3 100644
--- a/pc.y
+++ b/pc.y
@@ -378,10 +378,6 @@ statement
$$ = mktree(FOR, tmp, $8);
}
- | expr
- {
- $$ = $1;
- }
;
ifelse
:IF expr THEN statement
@@ -447,15 +443,6 @@ proc_statement
free($1);
}
- |ID '(' ')'
- {
- node *tmp;
-
- tmp = check_exists(cur_scope, $1);
- $$ = mktree(PCALL, mkid(tmp), NULL);
-
- free($1);
- }
/*calls checked with proc_statement*/
;
@@ -531,16 +518,6 @@ factor
free($1);
}
- | ID '(' ')'
- {
- node *tmp;
-
- tmp = check_exists(cur_scope, $1);
- $$ = mktree(FCALL, mkid(tmp), NULL);
- check_call($$);
-
- free($1);
- }
|INUM
{
$$ = mkinum($1);