forked from OSchip/llvm-project
[flang] Rearrange alternatives in data statement values to put longer parse earlier.
Original-commit: flang-compiler/f18@867cefaafb Reviewed-on: https://github.com/flang-compiler/f18/pull/48 Tree-same-pre-rewrite: false
This commit is contained in:
parent
de180f4ed0
commit
3274977aa5
|
@ -1350,8 +1350,8 @@ TYPE_PARSER(construct<DataStmtRepeat>{}(intLiteralConstant) ||
|
|||
// signed-int-literal-constant | signed-real-literal-constant |
|
||||
// null-init | initial-data-target | structure-constructor
|
||||
TYPE_PARSER(construct<DataStmtConstant>{}(Parser<StructureConstructor>{}) ||
|
||||
construct<DataStmtConstant>{}(scalar(Parser<ConstantValue>{})) ||
|
||||
construct<DataStmtConstant>{}(scalar(constantSubobject)) ||
|
||||
construct<DataStmtConstant>{}(scalar(Parser<ConstantValue>{})) ||
|
||||
construct<DataStmtConstant>{}(signedRealLiteralConstant) ||
|
||||
construct<DataStmtConstant>{}(signedIntLiteralConstant) ||
|
||||
extension(construct<DataStmtConstant>{}(
|
||||
|
|
Loading…
Reference in New Issue