Chromium Code Reviews| Index: lib/compiler/implementation/tree/unparser.dart |
| diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart |
| index b48e08599b820aa9f57f2e1579c4a9d22afbe30b..89a6f2fd664ee08ef645dec534a802764f4c7954 100644 |
| --- a/lib/compiler/implementation/tree/unparser.dart |
| +++ b/lib/compiler/implementation/tree/unparser.dart |
| @@ -143,10 +143,12 @@ class Unparser implements Visitor { |
| visitLiteralDouble(LiteralDouble node) { |
| add(node.token.value); |
| + if (node.token.kind == PLUS_TOKEN) add(node.token.next.value); |
|
Roman
2012/07/31 07:52:12
please add a comment about how things like "-42" a
Anton Muhin
2012/07/31 08:01:16
Done.
|
| } |
| visitLiteralInt(LiteralInt node) { |
| add(node.token.value); |
| + if (node.token.kind == PLUS_TOKEN) add(node.token.next.value); |
| } |
| visitLiteralString(LiteralString node) { |