diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-09-04 17:29:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 17:29:43 +0200 |
commit | 48cd40773abb43adf8fa954c7483dc15c492be84 (patch) | |
tree | 10c99d2475700e3e98010c8bb50009cfa69a5e2e /common/command.h | |
parent | 4512a9de19751916c466ed12a2ba4dce958d77bc (diff) | |
parent | 717bcfa19eb6d6351c471b657312097ad1261da5 (diff) | |
download | nextpnr-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.h | 1 |
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; |