Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PR11195: Prevent all nested argument substitution | Josh Stone | 2010-01-19 | 1 | -0/+4 |
Our existing protection only made sure that the first token in a substitution wasn't a nested substitution. That's not sufficient when there could be multiple tokens involved. This patch makes sure that no nested tokens are ever allowed to be argument substitutions. This also adds a cursor_suspended_line/column and resets the main cursor_line/column to the beginning of the substitution, so errors will point a little closer to the right place. |