cc: fix field access bug
This commit is contained in:
parent
0a38fdb9fd
commit
48ffd4eb6d
@ -1058,6 +1058,7 @@ class CcInterp(lark.visitors.Interpreter):
|
||||
else:
|
||||
tree.children[0].type = PointerType(pointed=strct.field_type(ch_field))
|
||||
tree.children = [tree.children[0]]
|
||||
self.visit_children(tree)
|
||||
self._deref(tree)
|
||||
|
||||
def post_increment(self, tree):
|
||||
|
Loading…
Reference in New Issue
Block a user