summary refs log tree commit diff stats
path: root/compiler/astalgo.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-17 10:48:01 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-17 10:48:01 +0100
commitba29ca0c63e50a06baf5935235b85e4ddc28fc96 (patch)
treeabfeee6348d6419ba37fd4b938b5916dea66c6e9 /compiler/astalgo.nim
parent1189ae9b99eff08dc34f2d5338c65ca2096ca297 (diff)
parente9767d8809a0ff4df83ffff1836937db3c2885bf (diff)
downloadNim-ba29ca0c63e50a06baf5935235b85e4ddc28fc96.tar.gz
Merge branch 'devel' into faster-nimsuggest
Diffstat (limited to 'compiler/astalgo.nim')
-rw-r--r--compiler/astalgo.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim
index affbdffd9..226d5ee42 100644
--- a/compiler/astalgo.nim
+++ b/compiler/astalgo.nim
@@ -388,6 +388,7 @@ proc debugTree(n: PNode, indent: int, maxRecDepth: int;
              [istr, makeYamlString($n.kind)]
     addf(result, ",$N$1\"info\": $2", [istr, lineInfoToStr(n.info)])
     if maxRecDepth != 0:
+      addf(result, ",$N$1\"flags\": $2", [istr, rope($n.flags)])
       case n.kind
       of nkCharLit..nkUInt64Lit:
         addf(result, ",$N$1\"intVal\": $2", [istr, rope(n.intVal)])