summaryrefslogtreecommitdiff
path: root/simulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'simulator.c')
-rw-r--r--simulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulator.c b/simulator.c
index bbea893..1b33aec 100644
--- a/simulator.c
+++ b/simulator.c
@@ -24,7 +24,7 @@ int main(int argc, char **argv) {
}
struct token *tok = lex_file(fd);
- int p = parse(fd, tok);
+ int p = parse(argv[1], fd, tok);
// gate_set_input("a", LOGIC_LOW);
// gate_set_input("b", LOGIC_LOW);