| Index: lib/src/dart_formatter.dart
|
| diff --git a/lib/src/dart_formatter.dart b/lib/src/dart_formatter.dart
|
| index 428aeecfb645dd0f72836272e9102ef661b4e610..a86c299d50ae0f5b703a5272e3d0117dc0b26fc2 100644
|
| --- a/lib/src/dart_formatter.dart
|
| +++ b/lib/src/dart_formatter.dart
|
| @@ -101,6 +101,8 @@ class DartFormatter {
|
| // Parse it.
|
| var parser = new Parser(stringSource, errorListener);
|
|
|
| + parser.parseConditionalDirectives = true;
|
| +
|
| var node;
|
| if (source.isCompilationUnit) {
|
| node = parser.parseCompilationUnit(startToken);
|
|
|