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

Unified Diff: lib/compiler/implementation/scanner/array_based_scanner.dart

Issue 9958009: Implement cascaded calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 8 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 | « lib/compiler/implementation/resolver.dart ('k') | lib/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/scanner/array_based_scanner.dart
diff --git a/lib/compiler/implementation/scanner/array_based_scanner.dart b/lib/compiler/implementation/scanner/array_based_scanner.dart
index c32ea285cc5a3b44d07b3288ad64172eec16bc90..41955d266f7937b9b735941fac6aef78ee6c0acc 100644
--- a/lib/compiler/implementation/scanner/array_based_scanner.dart
+++ b/lib/compiler/implementation/scanner/array_based_scanner.dart
@@ -30,15 +30,15 @@ class ArrayBasedScanner<S> extends AbstractScanner<S> {
int select(int choice, PrecedenceInfo yes, PrecedenceInfo no) {
int next = advance();
if (next === choice) {
- appendPrecenceToken(yes);
+ appendPrecedenceToken(yes);
return advance();
} else {
- appendPrecenceToken(no);
+ appendPrecedenceToken(no);
return next;
}
}
- void appendPrecenceToken(PrecedenceInfo info) {
+ void appendPrecedenceToken(PrecedenceInfo info) {
tail.next = new Token(info, tokenStart);
tail = tail.next;
}
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | lib/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698