diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-13 11:13:48 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-13 11:13:48 +0200 |
commit | 14e8d8112f0db9575838b40355197b9fc196a6ba (patch) | |
tree | 0eee8de89118484e830bf0f7cbba725523db6f60 /Parser.cpp | |
parent | 05cefcf4a77a56b349699331c2c9e5e132e1a7ab (diff) |
read filename from argv or contents from stdin
Diffstat (limited to 'Parser.cpp')
-rw-r--r-- | Parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -83,3 +83,7 @@ void Parser::parse(string input) { parse(s); } +Parser::Parser(Circuit & circuit) { + set_circuit(circuit); +} + |