add comment to astalgo.debug (#18594)
This commit is contained in:
parent
ed44618deb
commit
3b3006ef16
1 changed files with 3 additions and 0 deletions
|
|
@ -585,6 +585,9 @@ proc value(this: var DebugPrinter; value: PNode) =
|
|||
this.openCurly
|
||||
this.key "kind"
|
||||
this.value value.kind
|
||||
if value.comment.len > 0:
|
||||
this.key "comment"
|
||||
this.value value.comment
|
||||
when defined(useNodeIds):
|
||||
this.key "id"
|
||||
this.value value.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue