Skip to content

Commit

Permalink
Add missing scanner.expectDone() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Oct 30, 2016
1 parent c9bbcbd commit 845c1b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/parse/at_root_query.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class AtRootQueryParser extends Parser {
atRules.add(identifier().toLowerCase());
whitespace();
} while (lookingAtIdentifier());
scanner.expectDone();

return new AtRootQuery(include, atRules);
});
Expand Down
1 change: 1 addition & 0 deletions lib/src/parse/keyframe_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class KeyframeSelectorParser extends Parser {
}
whitespace();
} while (scanner.scanChar($comma));
scanner.expectDone();

return selectors;
});
Expand Down
1 change: 1 addition & 0 deletions lib/src/parse/media_query.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class MediaQueryParser extends Parser {
whitespace();
queries.add(_mediaQuery());
} while (scanner.scanChar($comma));
scanner.expectDone();
return queries;
});
}
Expand Down

0 comments on commit 845c1b8

Please sign in to comment.