Skip to content

Commit

Permalink
Update grammar/asdl_cpp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
namannimmo10 authored Mar 22, 2022
1 parent 4a1f805 commit 9c4d856
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions grammar/asdl_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,6 @@ def visitField(self, field, cons, last):
self.emit('s.append("\\n" + indtd + "%s" + "%s=");' % (arr, field.name), 2)
if last:
self.emit('last = true;', 2)
#self.emit('attached = true;', 2)
#else:
#self.emit('attached = true;', 2)
self.emit("if (x.m_%s) {" % field.name, 2)
self.emit(template, 3)
self.emit("} else {", 2)
Expand Down

0 comments on commit 9c4d856

Please sign in to comment.