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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 8949055: Issue 250: Allow for GNU formatted errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nits Created 9 years 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
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index b67c0633bc988f1f7cd36156ec4ef0e44f9399a9..a585bb2a194e4ebb11ac3234166fcb575664346c 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -1048,9 +1048,9 @@ public class DartCompiler {
}
try {
File outputDirectory = config.getOutputDirectory();
- boolean printMachineProblems = config.printMachineProblems();
DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(outputDirectory);
- DefaultDartCompilerListener listener = new DefaultDartCompilerListener(printMachineProblems);
+ DefaultDartCompilerListener listener = new DefaultDartCompilerListener(
+ config.printErrorFormat());
// Compile the Dart application and its dependencies.
LibrarySource lib = new UrlLibrarySource(sourceFile);

Powered by Google App Engine
This is Rietveld 408576698