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

Unified Diff: compiler/java/com/google/dart/compiler/ast/viz/BaseASTWriter.java

Issue 8949055: Issue 250: Allow for GNU formatted errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks to drop 'gnu' and stuff library in message format 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/ast/viz/BaseASTWriter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/BaseASTWriter.java b/compiler/java/com/google/dart/compiler/ast/viz/BaseASTWriter.java
index d7eace5e9914a616eae3b708809a77a8d4b78b03..bfd34dbdb8e8226440d5b1c16d464527f223e0ba 100644
--- a/compiler/java/com/google/dart/compiler/ast/viz/BaseASTWriter.java
+++ b/compiler/java/com/google/dart/compiler/ast/viz/BaseASTWriter.java
@@ -534,7 +534,7 @@ public abstract class BaseASTWriter {
@Override
public Object visitSyntheticErrorExpression(DartSyntheticErrorExpression node) {
- write("DartSyntheticErrorExpression", node);
+ write("DartSyntheticErrorExpression(", node, node.getTokenString() + ")");
visitChildren(node);
return null;
}

Powered by Google App Engine
This is Rietveld 408576698