2c3632d14f
Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at netbsd. Other significant changes: o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target). o variable parsing detects more errors. o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors.
17 lines
444 B
Plaintext
17 lines
444 B
Plaintext
:+one+ +two+ +three+:
|
|
:x1y x2y x3y:
|
|
:x1y x2y x3y:
|
|
:mod-loop-varname: :x1y x2y x3y: ::
|
|
:x1y x2y x3y:
|
|
mod-loop-resolve:w1d2d3w w2i3w w1i2d3 2i${RES3}w w1d2d3 2i${RES3} 1i${RES2}w:
|
|
mod-loop-varname-dollar:(1) (2) (3).
|
|
mod-loop-varname-dollar:() () ().
|
|
mod-loop-varname-dollar:() () ().
|
|
mod-loop-dollar:1:
|
|
mod-loop-dollar:${word}$:
|
|
mod-loop-dollar:$3$:
|
|
mod-loop-dollar:$${word}$$:
|
|
mod-loop-dollar:$$5$$:
|
|
mod-loop-dollar:$$${word}$$$:
|
|
exit status 0
|