aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.h
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-09-04 17:29:43 +0200
committerGitHub <noreply@github.com>2020-09-04 17:29:43 +0200
commit48cd40773abb43adf8fa954c7483dc15c492be84 (patch)
tree10c99d2475700e3e98010c8bb50009cfa69a5e2e /common/command.h
parent4512a9de19751916c466ed12a2ba4dce958d77bc (diff)
parent717bcfa19eb6d6351c471b657312097ad1261da5 (diff)
downloadnextpnr-48cd40773abb43adf8fa954c7483dc15c492be84.tar.gz
nextpnr-48cd40773abb43adf8fa954c7483dc15c492be84.tar.bz2
nextpnr-48cd40773abb43adf8fa954c7483dc15c492be84.zip
Merge pull request #496 from YosysHQ/gui_fix
Preserve cmd parameters when loading json from GUI
Diffstat (limited to 'common/command.h')
-rw-r--r--common/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.h b/common/command.h
index e52b5a48..36b6d8ab 100644
--- a/common/command.h
+++ b/common/command.h
@@ -38,6 +38,7 @@ class CommandHandler
int exec();
std::unique_ptr<Context> load_json(std::string filename);
+ void clear();
protected:
virtual void setupArchContext(Context *ctx) = 0;