Skip to content
Snippets Groups Projects

Fix braced variables not parsing correctly

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading