Skip to content

Commit bc4f3d4

Browse files
authored
[CoreDSLToPy] do not emit type annotation to preserve renode python 2.7 compatibility
1 parent cb97036 commit bc4f3d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Conversion/CoreDSLToPy/CoreDSLToPy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def init_cust_regs():
903903
os.unindent();
904904

905905
for (auto rom : roms) {
906-
os << ROM_PREFIX << rom.getSymName() << " : list = [";
906+
os << ROM_PREFIX << rom.getSymName() << " = [";
907907

908908
ArrayAttr initializer = rom.getInitializerAttr();
909909
bool regIsSigned = cast<IntegerType>(rom.getRegType()).isSigned();

0 commit comments

Comments
 (0)