Lines Matching refs:the
5 # TODO: Add systematic tests for all of the below combinations.
40 # for the short form, EOF after the '$'
41 # for the short form, each character
42 # for the long forms, EOF right after '${'
43 # for the long forms, EOF after the variable name
44 # for the long forms, EOF after the ':'
45 # for the long forms, EOF after parsing a modifier
46 # for the long forms, ':}'
70 # How much does the parsing position advance (pp)?
71 # What's the value of the expression (return value)?
79 # In variable assignments, there may be spaces in the middle of the left-hand
80 # side of the assignment, but only if they occur inside expressions.
89 # 2023-02-18, the exact way of parsing an expression with subexpressions
90 # depended on whether the expression was actually evaluated or merely parsed.
95 # If the expression was merely parsed but not evaluated (for example, because
96 # its value would not influence the outcome of the condition, or during the
97 # first pass of the ':@var@body@' modifier), and the expression contained a
98 # modifier, and that modifier contained a nested expression, the nested
99 # expression was not parsed correctly. Instead, make only counted the opening
104 # Keep these braces outside the conditions below, to keep them simple to
105 # understand. If the expression ${BRACE_PAIR:...} had been replaced with the
106 # literal ${:U{}}, the '}' would have to be escaped, but not the '{'. This
107 # asymmetry would have made the example even more complicated to understand.
109 # In this test word, the below conditions will replace the '{{}' in the middle
110 # with the string '<lbraces>'.
113 # The inner ':S' modifier turns the word '{}' into '{{}'.
114 # The outer ':S' modifier then replaces '{{}' with '<lbraces>'.
115 # Due to the always-true condition '1', the outer expression is relevant and
119 # Due to the always-false condition '0', the outer expression is irrelevant.
120 # In this case, in the parts of the outer ':S' modifier, the expression parser
121 # only counted the braces, and since the inner expression '${BRACE_PAIR:...}'
122 # contains more '{' than '}', parsing failed with the error message 'Unfinished