Skip to content

Commit

Permalink
ast: Only use typeDump() in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
dkl committed Mar 20, 2014
1 parent cd1f32a commit eef4353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compiler/ast-node-misc.bas
Expand Up @@ -883,7 +883,9 @@ private sub astDumpTreeEx _
dim as string s
's += "[" + hex( n, 8 ) + "] "
s += hAstNodeToStr( n )
#if __FB_DEBUG__
s += " " + typeDump( n->dtype, n->subtype )
#endif
dbg_astOutput( s, col, just, depth )

depth += 1
Expand Down

0 comments on commit eef4353

Please sign in to comment.