Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: packages/glob/lib/src/parser.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/glob/lib/src/list_tree.dart ('k') | packages/glob/lib/src/stream_pool.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/glob/lib/src/parser.dart
diff --git a/packages/glob/lib/src/parser.dart b/packages/glob/lib/src/parser.dart
index d3c7e1ddd9658a99e1139831fe79ea23854c05a3..a4e840cf8440c0bc8c139e2b470c8e2af944eef9 100644
--- a/packages/glob/lib/src/parser.dart
+++ b/packages/glob/lib/src/parser.dart
@@ -120,8 +120,7 @@ class Parser {
if (end < char) {
_scanner.error("Range out of order.",
- position: start,
- length: _scanner.position - start);
+ position: start, length: _scanner.position - start);
}
ranges.add(new Range(char, end));
} else {
@@ -156,8 +155,8 @@ class Parser {
AstNode _parseLiteral({bool inOptions: false}) {
// If we're in an options block, we want to stop parsing as soon as we hit a
// comma. Otherwise, commas are fair game for literals.
- var regExp = new RegExp(
- inOptions ? r'[^*{[?\\}\],()]*' : r'[^*{[?\\}\]()]*');
+ var regExp =
+ new RegExp(inOptions ? r'[^*{[?\\}\],()]*' : r'[^*{[?\\}\]()]*');
_scanner.scan(regExp);
var buffer = new StringBuffer()..write(_scanner.lastMatch[0]);
« no previous file with comments | « packages/glob/lib/src/list_tree.dart ('k') | packages/glob/lib/src/stream_pool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698