From 563010bc7d2ad932b6096e90c048f8a6cdccef82 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sun, 6 Oct 2019 13:12:28 -0400 Subject: Fix input/output to correct function names input/output created write/read respectively fixed to read/write. --- pc.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pc.l') diff --git a/pc.l b/pc.l index 229b763..553d495 100644 --- a/pc.l +++ b/pc.l @@ -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)); -- cgit v1.1