diff options
| author | rillig <rillig@NetBSD.org> | 2022-01-08 22:24:20 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2022-01-08 22:24:20 +0000 |
| commit | 96a7a5dfa3c13f047e4c33b9d3ed420ae6c3f78c (patch) | |
| tree | d5e15149350c8c411cd6439d95b91b1e4ce6fbc9 /usr.bin/make/unit-tests/opt-debug-parse.exp | |
| parent | 1c7a168ce0aa2702477865cbdc56c94e1118dda7 (diff) | |
make: fix line number in debug log after returning from a file
The parser returns to the next line, not to the current line.
Diffstat (limited to 'usr.bin/make/unit-tests/opt-debug-parse.exp')
| -rw-r--r-- | usr.bin/make/unit-tests/opt-debug-parse.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/unit-tests/opt-debug-parse.exp b/usr.bin/make/unit-tests/opt-debug-parse.exp index bf9cfda8f8e..b0abc7f3126 100644 --- a/usr.bin/make/unit-tests/opt-debug-parse.exp +++ b/usr.bin/make/unit-tests/opt-debug-parse.exp @@ -3,14 +3,14 @@ SetFilenameVars: ${.PARSEDIR} = `<curdir>' ${.PARSEFILE} = `opt-debug-parse.mk' Parsing line 17: .info trace with multi-line .for loop head make: "opt-debug-parse.mk" line 17: trace with multi-line .for loop head in .include from opt-debug-parse.mk:18 -ParseEOF: returning to file opt-debug-parse.mk, line 18 +ParseEOF: returning to file opt-debug-parse.mk, line 19 SetFilenameVars: ${.PARSEDIR} = `<curdir>' ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 23: .include "/dev/null" +Parsing line 24: .include "/dev/null" Parse_PushInput: file /dev/null, line 1 SetFilenameVars: ${.PARSEDIR} = `/dev' ${.PARSEFILE} = `null' SetFilenameVars: ${.INCLUDEDFROMDIR} = `<curdir>' ${.INCLUDEDFROMFILE} = `opt-debug-parse.mk' -ParseEOF: returning to file opt-debug-parse.mk, line 23 +ParseEOF: returning to file opt-debug-parse.mk, line 25 SetFilenameVars: ${.PARSEDIR} = `<curdir>' ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 25: .MAKEFLAGS: -d0 +Parsing line 26: .MAKEFLAGS: -d0 ParseDependency(.MAKEFLAGS: -d0) exit status 0 |
