Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Jul 3, 2023
1 parent bc3f036 commit a9d3f51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/misra_9.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ def createRecordChildrenDefs(ed, var):
valueType = ed.valueType
if not valueType or not valueType.typeScope:
return
if valueType.pointer>=1:
if var.typeEndToken.str == '*':
child = ElementDef("pointer", var.nameToken, var.nameToken.valueType)
ed.addChild(child)
return
for variable in valueType.typeScope.varlist:
if variable is var:
Expand Down

0 comments on commit a9d3f51

Please sign in to comment.