Skip to content
Snippets Groups Projects

Add support for braced array variables

Merged Michael Aaron Murphy requested to merge huntergoldstein:braced_arrays into master

Created by: huntergoldstein

Problem: While you can express braced string variables, e.g. ${foobar}, you cannot express array variables , e.g. @{zardoz}.

Solution: Add support for braced array variables.

Changes introduced by this pull request:

  • Add a braced_array_variable branch for WordIterator
  • Allow StatementSplitter to recognize braced array variables
  • Extended parser::statements::braced_variable test to also test for braced arrays

Fixes: Closes #262 (closed)

State: Good to go!

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