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

Unified Diff: pkg/csslib/lib/parser.dart

Issue 50703011: fix csslib and watcher warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/csslib/lib/parser.dart
diff --git a/pkg/csslib/lib/parser.dart b/pkg/csslib/lib/parser.dart
index fd5a0c2bc6c0e9f9ea73478a5ab0179bfeaf09f8..92f16524e751c5f935ff140dd38a23798393be39 100644
--- a/pkg/csslib/lib/parser.dart
+++ b/pkg/csslib/lib/parser.dart
@@ -570,7 +570,7 @@ class _Parser {
pseudoPage.name == 'first')) {
_warning("Pseudo page must be left, top or first",
pseudoPage.span);
- return;
+ return null;
}
}
}
@@ -742,8 +742,9 @@ class _Parser {
case TokenKind.DIRECTIVE_CONTENT:
// TODO(terry): TBD
_warning("@content not implemented.", _makeSpan(start));
- return;
+ return null;
}
+ return null;
}
/**
@@ -1890,7 +1891,7 @@ class _Parser {
break;
default:
// Don't handle it.
- return;
+ return null;
}
}
@@ -1979,7 +1980,7 @@ class _Parser {
left = marginValue(exprs.expressions[3]);
break;
default:
- return;
+ return null;
}
return new BoxEdge.clockwiseFromTop(top, right, bottom, left);
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698