Commit Graph

7 Commits

Author SHA1 Message Date
rillig
4dc2cd5c6f make: rename context and ctxt to scope
This continues the previous commit, in which VAR_GLOBAL, VAR_INTERNAL
and VAR_CMDLINE were renamed.

Renaming the variable 'ctxt' was trivial since that word is used nowhere
else.  In the comments though, each occurrence of the word 'context' had
to be checked individually since the word 'context' was not only used
for referring to a variable scope.  It is also used to distinguish
different situations where characters are escaped in a certain way
('parsing context') and in a few other expressions.
2021-02-04 21:42:46 +00:00
rillig
48e5e1cf2f make(1): fix function names in test for variable debugging 2020-10-31 13:15:10 +00:00
rillig
26bb639d2f make(1): add test for ignoring assignment to read-only variable 2020-10-29 18:38:24 +00:00
rillig
d24669de54 make(1): move MAKEFLAGS handling in vardebug test to the test itself 2020-10-29 18:19:41 +00:00
rillig
9975bed5cd make(1): extend debug logging to error values
The error marker var_Error is just an empty string.  In the debug log
this empty string was not distinguishable from an otherwise empty
string.

Having this distinction helps in understanding the exact data flow.
2020-08-08 14:28:46 +00:00
rillig
cc2e211d78 make(1): add test for debugging message for indirect modifiers
The current output format stops in the middle of the next modifier,
which was probably not intended.
2020-08-08 12:22:10 +00:00
rillig
c15a528233 make(1): add tests for previously uncovered code 2020-07-25 21:19:29 +00:00