Skip to content

Commit

Permalink
Case-sensitively test for legacy group definitions, fixes #638
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jan 11, 2017
1 parent 7e57f4c commit e11012c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function parse(source, root, options) {

function parseField(parent, rule, extend) {
var type = next();
if (lower(type) === "group") {
if (type === "group") {
parseGroup(parent, rule);
return;
}
Expand Down

0 comments on commit e11012c

Please sign in to comment.