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

Unified Diff: utils/pub/yaml/parser.dart

Issue 10414015: Don't make a void arrow function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/parser.dart
diff --git a/utils/pub/yaml/parser.dart b/utils/pub/yaml/parser.dart
index bfd1effcd25b3a94dcb8f80a98712a3742711229..f19ab7865a28699edf513a5be0edc4eba0cfcdf8 100644
--- a/utils/pub/yaml/parser.dart
+++ b/utils/pub/yaml/parser.dart
@@ -1448,14 +1448,16 @@ class _Parser {
}
// 167
- void l_stripEmpty(int indent) => captureAs('', () {
- zeroOrMore(() => transaction(() {
- if (!truth(s_indentLessThanOrEqualTo(indent))) return false;
- return b_nonContent();
- }));
- zeroOrOne(() => l_trailComments(indent));
- return true;
- });
+ void l_stripEmpty(int indent) {
+ captureAs('', () {
+ zeroOrMore(() => transaction(() {
+ if (!truth(s_indentLessThanOrEqualTo(indent))) return false;
+ return b_nonContent();
+ }));
+ zeroOrOne(() => l_trailComments(indent));
+ return true;
+ });
+ }
// 168
void l_keepEmpty(int indent) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698