| Index: pkg/analyzer/lib/src/generated/parser.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart
|
| index 32afd15c7082119126418461e13dd981faee872f..ff95539baf18517460ae92dcafd5886f29b9d612 100644
|
| --- a/pkg/analyzer/lib/src/generated/parser.dart
|
| +++ b/pkg/analyzer/lib/src/generated/parser.dart
|
| @@ -2169,12 +2169,6 @@ class Parser {
|
| bool _inInitializer = false;
|
|
|
| /**
|
| - * A flag indicating whether the parser is to parse conditional directives
|
| - * syntax.
|
| - */
|
| - bool parseConditionalDirectives = false;
|
| -
|
| - /**
|
| * A flag indicating whether the parser is to parse generic method syntax.
|
| */
|
| bool parseGenericMethods = false;
|
| @@ -2217,6 +2211,12 @@ class Parser {
|
| this._parseAsync = parseAsync;
|
| }
|
|
|
| + @deprecated
|
| + bool get parseConditionalDirectives => true;
|
| +
|
| + @deprecated
|
| + void set parseConditionalDirectives(bool value) {}
|
| +
|
| /**
|
| * Set whether parser is to parse function bodies.
|
| */
|
| @@ -5360,10 +5360,8 @@ class Parser {
|
| */
|
| List<Configuration> _parseConfigurations() {
|
| List<Configuration> configurations = <Configuration>[];
|
| - if (parseConditionalDirectives) {
|
| - while (_matchesKeyword(Keyword.IF)) {
|
| - configurations.add(_parseConfiguration());
|
| - }
|
| + while (_matchesKeyword(Keyword.IF)) {
|
| + configurations.add(_parseConfiguration());
|
| }
|
| return configurations;
|
| }
|
|
|