aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-09-17 09:29:38 +0100
committerGitHub <noreply@github.com>2021-09-17 09:29:38 +0100
commit7c82a04df5f5ba963791c327d5f9282cb20b4261 (patch)
tree3495455016bbdabf032cdca3ae2c60cbced58cfb /common/command.h
parent67bd349e8f38d91a15f54340b29cc77ef156727f (diff)
parent1e4f706ace7d84f8edcfd74ae444047fab836f77 (diff)
downloadnextpnr-7c82a04df5f5ba963791c327d5f9282cb20b4261.tar.gz
nextpnr-7c82a04df5f5ba963791c327d5f9282cb20b4261.tar.bz2
nextpnr-7c82a04df5f5ba963791c327d5f9282cb20b4261.zip
Merge pull request #813 from YosysHQ/gatecat/py-on-fail
command: Allow running Python on failure for state introspection
Diffstat (limited to 'common/command.h')
-rw-r--r--common/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.h b/common/command.h
index 092ab215..6cce8c61 100644
--- a/common/command.h
+++ b/common/command.h
@@ -39,6 +39,7 @@ class CommandHandler
int exec();
void load_json(Context *ctx, std::string filename);
void clear();
+ void run_script_hook(const std::string &name);
protected:
virtual void setupArchContext(Context *ctx) = 0;
@@ -55,7 +56,6 @@ class CommandHandler
void setupContext(Context *ctx);
int executeMain(std::unique_ptr<Context> ctx);
po::options_description getGeneralOptions();
- void run_script_hook(const std::string &name);
void printFooter();
protected: