aboutsummaryrefslogtreecommitdiff
path: root/pc.l
diff options
context:
space:
mode:
Diffstat (limited to 'pc.l')
-rw-r--r--pc.l4
1 files changed, 2 insertions, 2 deletions
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));