History log of /src/usr.bin/make/unit-tests/directive-for-errors.mk |
Revision | | Date | Author | Comments |
1.18 |
| 28-Jun-2025 |
rillig | make: consistently use double quotes in error messages
Previously, some error messages used single quotes, very few used backticks or parentheses, most already used double quotes.
While here, reword a few error messages to be clearer or more consistent with related error messages.
|
1.17 |
| 03-May-2025 |
rillig | make: miscellaneous cleanups
|
1.16 |
| 30-Mar-2025 |
rillig | make: if there is an error in the items of a .for loop, don't iterate
|
1.15 |
| 29-Mar-2025 |
rillig | make: add ":" to error message about unknown modifier
In the manual page, the modifiers are listed with a preceding ":", so use the same pattern in the error message. This removes an inconsistency between the error messages "Unknown modifier" and "Bad modifier".
|
1.14 |
| 29-Aug-2024 |
rillig | make: reduce line length in error messages
The error messages for deeply nested parse errors were hard to decipher, due to the large amount of text. Split these messages into individual lines, just as in the backtrace for .include files and .for loops. This unified backtrace makes the output more uniform.
|
1.13 |
| 06-Jul-2024 |
rillig | tests/make: clean up tests
Prefer "expect+X" directives to be above the code generating them, instead of "expect-X" directives below the code.
In varmod-edge.mk, separate the tests, as the common loop does not pull its weight.
|
1.12 |
| 05-Jul-2024 |
rillig | make: in error messages for anonymous variables, log the value
|
1.11 |
| 01-Jun-2024 |
rillig | branches: 1.11.2; tests/make: test invalid character in a late .for variable name
This covers the cleanup code that frees the earlier variable names when a late variable name is invalid.
|
1.10 |
| 20-Apr-2024 |
rillig | make: provide more context information for parse/evaluate errors
|
1.9 |
| 19-Dec-2023 |
rillig | make: clean up comments
No binary change, except for line numbers in assertions.
|
1.8 |
| 17-Dec-2023 |
rillig | tests/make: in 'expect' lines, require the complete text of the line
|
1.7 |
| 19-Nov-2023 |
rillig | tests/make: replace 'variable expression' with 'expression'
Each expression is based on a variable, there's no need for the verbosity. The wording in make's diagnostics will be changed in a follow-up commit.
|
1.6 |
| 01-Jun-2023 |
rillig | tests/make: force line-based diagnostics to be listed in the tests
This way, contradictions between the intended output and the actual output are closer together and have a better chance of being spotted.
|
1.5 |
| 09-May-2023 |
rillig | make: skip syntactically wrong .for loops
When a .for loop cannot be interpreted correctly, for example when there are no iteration variables or the number of words doesn't match the iteration variables, skip the body of the .for loop instead of interpreting it once.
|
1.4 |
| 08-May-2023 |
rillig | make: disallow characters like '$' in variable names in .for loops
Fixes PR 53146.
|
1.3 |
| 04-Apr-2021 |
rillig | make: remove filler word 'Do' from function names for parsing
No functional change, except for debug logging.
|
1.2 |
| 04-Apr-2021 |
rillig | make: rename ambiguous functions
These two functions have counterparts that include the word 'Do' in their name, which is confusing.
No functional change.
|
1.1 |
| 31-Dec-2020 |
rillig | make(1): add test for error handling and expansion in .for loops
|
1.11.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|