Skip to content

Commit

Permalink
Merge pull request #353 from mattirn/brackets
Browse files Browse the repository at this point in the history
DefaultParser: do not check brackets if inside quotes
  • Loading branch information
gnodet committed Jan 30, 2019
2 parents a6dd868 + 9a2e06d commit 310c846
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ public ParsedLine parse(final String line, final int cursor, ParseContext contex
} else {
if (!isEscapeChar(line, i)) {
current.append(line.charAt(i));
bracketChecker.check(line, i);
if (quoteStart < 0) {
bracketChecker.check(line, i);
}
}
}
}
Expand Down

0 comments on commit 310c846

Please sign in to comment.