Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Additional parser correction on detecting nested rbrace/rbracket

  • Loading branch information...
commit 51513900313666ccad98a9458eb3adadbbc18d83 1 parent 0962f89
@dhanji dhanji authored
View
3  tesla-polyglot/tesla-polyglot-atom/src/main/java/org/sonatype/maven/polyglot/atom/parsing/AtomParser.java
@@ -409,9 +409,6 @@ private Xpp3Dom toXpp3DomTree(String name, Map<String, Object> config) {
// eol here is optional.
match(Kind.EOL);
-
- if (match(Kind.RBRACE) != null || match(Kind.RBRACKET) != null)
- break;
} else {
// This is a multilevel thing, recurse!
if (anyOf(Kind.LBRACKET, Kind.LBRACE) != null) {
Please sign in to comment.
Something went wrong with that request. Please try again.