"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "unit-tests/dollar.exp" between
bmake-20201101.tar.gz and bmake-20201117.tar.gz

About: bmake a BSD make tool (derived from NetBSD’s make).

dollar.exp  (bmake-20201101):dollar.exp  (bmake-20201117)
Printing dollar from literals and variables Printing dollar from literals and variables
To survive the parser, a dollar character must be doubled. To survive the parser, a dollar sign must be doubled.
1 dollar literal => <single-quote-var-value> 1 dollar literal => <single-quote-var-value>
1 dollar literal eol => <> 1 dollar literal eol => <>
2 dollar literal => <$> 2 dollar literal => <$>
4 dollar literal => <$$> 4 dollar literal => <$$>
Some hungry part of make eats all the dollars after a :U modifier. Some hungry part of make eats all the dollars after a :U modifier.
1 dollar default => <> 1 dollar default => <>
2 dollar default => <> 2 dollar default => <>
4 dollar default => <> 4 dollar default => <>
This works as expected. This works as expected.
1 dollar variable => <> 1 dollar variable => <>
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)