diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-22 18:02:34 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-22 18:51:02 +0200 |
commit | b533006ff1906bc83ee14c5109ed049ef9e3827f (patch) | |
tree | 95a274cf78c6be32fcb5efaea446f613e1947da8 /scripts | |
parent | 0f7a2db1219066a1dfdbe2fd4e853419528c5a56 (diff) | |
download | ghdl-b533006ff1906bc83ee14c5109ed049ef9e3827f.tar.gz ghdl-b533006ff1906bc83ee14c5109ed049ef9e3827f.tar.bz2 ghdl-b533006ff1906bc83ee14c5109ed049ef9e3827f.zip |
scripts/pnodespy: 's/includeIntEnumunique/includeIntEnumUnique/'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pnodespy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/pnodespy.py b/scripts/pnodespy.py index 1f95cac4d..7860b2f30 100755 --- a/scripts/pnodespy.py +++ b/scripts/pnodespy.py @@ -30,7 +30,7 @@ def print_enum(name, vals): print(" {0} = {1}".format(k, n)) -def print_file_header(includeIntEnumunique=True,includeBindToLibGHDL=True): +def print_file_header(includeIntEnumUnique=True, includeBindToLibGHDL=True): print(dedent("""\ # Auto generated Python source file from Ada sources # Call 'make' in 'src/vhdl' to regenerate: @@ -38,7 +38,7 @@ def print_file_header(includeIntEnumunique=True,includeBindToLibGHDL=True): """), end='' ) - if includeIntEnumunique: + if includeIntEnumUnique: print("from enum import IntEnum, unique") print("from pydecor import export") @@ -106,7 +106,7 @@ def do_iirs_subprg(): def do_libghdl_elocations(): classname = "vhdl__elocations" - print_file_header(includeIntEnumunique=False, includeBindToLibGHDL=False) + print_file_header(includeIntEnumUnique=False, includeBindToLibGHDL=False) print("from pyGHDL.libghdl import libghdl") print() for k in pnodes.funcs: |