Skip to content

Fix braced variables not parsing correctly

Michael Aaron Murphy requested to merge huntergoldstein:braced_var_fix into master

Created by: huntergoldstein

At some point in the history of StatementSplitter it started rejecting braced variables such as ${foo}. While working on #262 (closed) I noticed this.

The problem was that the first case, which catches any character that cannot be in a braced variable, also threw an error for a brace, even though that might be the valid end of a braced variable.

Merge request reports