From: peter klausler Date: Tue, 3 Jul 2018 23:17:52 +0000 (-0700) Subject: [flang] Fix issue flang-compiler/f18#113. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22786d89e41434e29bfce56b6abd2c860228e223;p=platform%2Fupstream%2Fllvm.git [flang] Fix issue flang-compiler/f18#113. Original-commit: flang-compiler/f18@835e51b6e6e4030a26398f4c0e550d7baad13aa9 Reviewed-on: https://github.com/flang-compiler/f18/pull/117 Tree-same-pre-rewrite: false --- diff --git a/flang/lib/parser/grammar.h b/flang/lib/parser/grammar.h index 31758ce..e6ccce7 100644 --- a/flang/lib/parser/grammar.h +++ b/flang/lib/parser/grammar.h @@ -3123,7 +3123,7 @@ TYPE_PARSER("INTRINSIC" >> maybe("::"_tok) >> // R1520 function-reference -> procedure-designator ( [actual-arg-spec-list] ) TYPE_CONTEXT_PARSER("function reference"_en_US, construct(construct(Parser{}, - parenthesized(optionalList(actualArgSpec))))) + parenthesized(optionalList(actualArgSpec)))) / !"["_tok) // R1521 call-stmt -> CALL procedure-designator [( [actual-arg-spec-list] )] TYPE_PARSER(