Skip to content

Commit

Permalink
Fix foreach with a colon
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 28, 2015
1 parent 376092e commit bbf819c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ else if (!scriptEntry.hasObject("callback")
break;
}

else if (!scriptEntry.hasObject("list")
&& arg.matchesArgumentType(dList.class)) {
else if (!scriptEntry.hasObject("list")) {
scriptEntry.addObject("list", dList.valueOf(arg.raw_value));
scriptEntry.addObject("braces", getBracedCommands(scriptEntry));
break;
Expand Down

0 comments on commit bbf819c

Please sign in to comment.