| Index: compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
|
| diff --git a/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java b/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
|
| index cdd00cb3a5d512313d798ad5ee06194cec93ddde..bbe70b33136c31eba2a5523b66d895c57323567d 100644
|
| --- a/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
|
| +++ b/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
|
| @@ -6,6 +6,7 @@ package com.google.dart.compiler.parser;
|
|
|
| import com.google.dart.compiler.DartCompilationError;
|
| import com.google.dart.compiler.DartCompilerListener;
|
| +import com.google.dart.compiler.DartSource;
|
| import com.google.dart.compiler.Source;
|
| import com.google.dart.compiler.ast.DartUnit;
|
| import com.google.dart.compiler.common.HasSourceInfo;
|
| @@ -120,6 +121,11 @@ public class DartScannerParserContext implements ParserContext {
|
| public void error(DartCompilationError dartError) {
|
| listener.onError(dartError);
|
| }
|
| +
|
| + @Override
|
| + public void unitAboutToCompile(DartSource source, boolean diet) {
|
| + listener.unitAboutToCompile(source, diet);
|
| + }
|
|
|
| @Override
|
| public void advance() {
|
|
|