Skip to content

Commit

Permalink
Remove outdated bug fix from If command that was causing other issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcernat committed Oct 10, 2013
1 parent e5ab479 commit 16b174a
Showing 1 changed file with 0 additions and 9 deletions.
Expand Up @@ -182,15 +182,6 @@ else if (newCommand || elseOutcome.size() == 0) {
newCommand = false;
elseOutcome.put(elseOutcome.size(), new ArrayList<String>());
elseOutcome.get(elseOutcome.lastKey()).add(arg.raw_value);

// Important!
//
// If we find an "if", act like we entered a set of
// brackets, so we treat the if's commands as arguments
// and don't add them to our current else commands
if (arg.matches("if")) {
bracketsEntered++;
}
}

// Add new else argument
Expand Down

0 comments on commit 16b174a

Please sign in to comment.