diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-10-06 13:12:28 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-10-06 14:39:21 -0400 |
commit | 563010bc7d2ad932b6096e90c048f8a6cdccef82 (patch) | |
tree | e30f9cac2cd28ab3522fb21b74204342b35e3530 /pc.l | |
parent | 6524b096a1e38bbb7f0645f410af348211e8349d (diff) |
Fix input/output to correct function names
input/output created write/read respectively fixed to read/write.
Diffstat (limited to 'pc.l')
-rw-r--r-- | pc.l | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ id [A-Za-z][A-Za-z0-9_]* return PROG; } -input { +output { node *tmp; tmp = scope_insert(cur_scope, strdup("write")); tmp->func_info = malloc(sizeof(struct fi)); @@ -46,7 +46,7 @@ input { return IO; } -output { +input { node *tmp; tmp = scope_insert(cur_scope, strdup("read")); tmp->func_info = malloc(sizeof(struct fi)); |