aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds/write_file.cc
diff options
context:
space:
mode:
authorAman Goel <amangoel@umich.edu>2018-08-18 08:18:40 +0530
committerGitHub <noreply@github.com>2018-08-18 08:18:40 +0530
commit61f002c908830d59e883d25668b731e7d12470d0 (patch)
tree25174f7321f60e14ca6c144544f29971c40abe9b /passes/cmds/write_file.cc
parent5dcb899e76a82c8aa84552a59f4a9f64394e7785 (diff)
parente343f3e6d475984c21611474bffe7dcd8f599497 (diff)
downloadyosys-61f002c908830d59e883d25668b731e7d12470d0.tar.gz
yosys-61f002c908830d59e883d25668b731e7d12470d0.tar.bz2
yosys-61f002c908830d59e883d25668b731e7d12470d0.zip
Merge pull request #3 from YosysHQ/master
Updates from official repo
Diffstat (limited to 'passes/cmds/write_file.cc')
-rw-r--r--passes/cmds/write_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/write_file.cc b/passes/cmds/write_file.cc
index 70892a945..9613b462b 100644
--- a/passes/cmds/write_file.cc
+++ b/passes/cmds/write_file.cc
@@ -25,7 +25,7 @@ PRIVATE_NAMESPACE_BEGIN
struct WriteFileFrontend : public Frontend {
WriteFileFrontend() : Frontend("=write_file", "write a text to a file") { }
- virtual void help()
+ void help() YS_OVERRIDE
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
@@ -44,7 +44,7 @@ struct WriteFileFrontend : public Frontend {
log(" EOT\n");
log("\n");
}
- virtual void execute(std::istream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design*)
+ void execute(std::istream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design*) YS_OVERRIDE
{
bool append_mode = false;
std::string output_filename;