1 # $NetBSD: opt-debug-for.mk,v 1.4 2020/10/05 19:27:48 rillig Exp $
3 # Tests for the -df command line option, which adds debug logging for
4 # parsing and evaluating .for loops.
8 # XXX: In the debug log, the "new loop 2" appears out of context.
9 # There should be a "begin loop 1" before, and all these messages should
10 # contain line number information.
12 # XXX: The "loop body" should print the nesting level as well.
14 # XXX: It is hard to extract any information from the debug log since
15 # the "begin" and "end" events are not balanced and the nesting level
16 # is not printed consistently. It would also be helpful to mention the
17 # actual substitutions, such as "For 1: outer=b".
21 VAR.${outer}${inner}= value