It's easy to cause stack overflows with degenerate cases like "$$$$$x" repeated thousands of times. We have no interest in addressing these. Make the input size smaller to hopefully avoid these stack overflows.
Avoid stack overflows during compilation of deeply nested expressions.
The next section after --FILE-- is not necessarily --EXPECT--. Accept any section. Closes GH-4770.