aboutsummaryrefslogtreecommitdiff
path: root/Parser.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 11:13:48 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 11:13:48 +0200
commit14e8d8112f0db9575838b40355197b9fc196a6ba (patch)
tree0eee8de89118484e830bf0f7cbba725523db6f60 /Parser.cpp
parent05cefcf4a77a56b349699331c2c9e5e132e1a7ab (diff)
read filename from argv or contents from stdin
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 08ff2b0..9b98267 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -83,3 +83,7 @@ void Parser::parse(string input) {
parse(s);
}
+Parser::Parser(Circuit & circuit) {
+ set_circuit(circuit);
+}
+