From 3cba6edf1fb8d04ab59ad959abb80d1dd9bc04d9 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 27 Nov 2010 16:27:22 -0700 Subject: [PATCH] print path elements if DebugFind == true in parsePath --- src/finder.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/finder.cpp b/src/finder.cpp index 74f070102e..519f1efa6d 100644 --- a/src/finder.cpp +++ b/src/finder.cpp @@ -673,6 +673,10 @@ parsePath(System* s, Allocator* allocator, const char* path, } } + if (DebugFind) { + fprintf(stderr, "add element %.*s %p\n", token.length, token.s, e); + } + if (e) { if (prev) { prev->next = e;