aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-06-21 15:19:23 +0000
committerGitHub <noreply@github.com>2020-06-21 15:19:23 +0000
commit692ec5fc9dc3e86d1e29866123a40c31c7a73e29 (patch)
tree49a86b0e950102677174643b6da35b1387dbe91f
parent992d694d39db859bd7b554126881be69f3cfcd2e (diff)
parenta367281d30c2fbb3c942ce82440e78bbafeedc5d (diff)
downloadyosys-692ec5fc9dc3e86d1e29866123a40c31c7a73e29.tar.gz
yosys-692ec5fc9dc3e86d1e29866123a40c31c7a73e29.tar.bz2
yosys-692ec5fc9dc3e86d1e29866123a40c31c7a73e29.zip
Merge pull request #2180 from Xiretza/pyosys-override
pyosys: Use C++11 override keyword for bindings
-rw-r--r--misc/py_wrap_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/py_wrap_generator.py b/misc/py_wrap_generator.py
index fa23e3b2c..38bd6129e 100644
--- a/misc/py_wrap_generator.py
+++ b/misc/py_wrap_generator.py
@@ -1414,7 +1414,7 @@ class WFunction:
text += ", "
if len(self.args) > 0:
text = text[:-2]
- text += ") YS_OVERRIDE;\n"
+ text += ") override;\n"
return text
def gen_decl_hash_py(self):