Commit 8e3e8fcc

8e3e8fcc03caMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 2 files · +1 added · ~1 modified

Description

Merge pull request #244 from mame/pr/attr-writer-returns-rhs

fix(codegen): attr-writer call returns rhs, not 0

Details

Commit
8e3e8fcc03ca
Parent
386c4ba362bc
Merge parent
74e638e9b9dd

spinel_codegen.rbmodifiedView file

@@ -21668,7 +21668,7 @@
2166821668 j = 0
2166921669 while j < writers.length
2167021670 if writers[j] == bname
21671- return "(" + rc + arrow + sanitize_ivar(bname) + " = " + compile_arg0(nid) + ", 0)"
21671+ return "(" + rc + arrow + sanitize_ivar(bname) + " = " + compile_arg0(nid) + ")"
2167221672 end
2167321673 j = j + 1
2167421674 end