diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-10-15 18:40:33 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-10-15 18:40:33 -0400 |
commit | 85f3229e2811b75047c563d23ae3f51db17d4dd3 (patch) | |
tree | f46e2fb7599d60e8b06ec588550adf5b26342ebd | |
parent | ba8fb6d6b6c0c16c056437404de7939cecc9c2cd (diff) |
Fix grammer conflicts
-rw-r--r-- | pc.y | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -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); |