Skip to content

Commit d6b4310

Browse files
committed
back out mistake in constructEndStmtRecovery
1 parent 158383d commit d6b4310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Parser/stmt-parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ constexpr auto progUnitEndStmt{
9898
"PROCEDURE"_tok || "MODULE"_tok || "SUBMODULE"_tok ||
9999
"PROGRAM"_tok || "BLOCK DATA"_tok)};
100100
constexpr auto constructEndStmtErrorRecovery{
101-
!progUnitEndStmt >> (("!$ACC "_sptok >> "END"_tok) || "END"_tok >> SkipTo<'\n'>{} || ok)};
101+
!progUnitEndStmt >> ("END"_tok >> SkipTo<'\n'>{} || ok)};
102102
constexpr auto namedConstructEndStmtErrorRecovery{
103103
constructEndStmtErrorRecovery >> missingOptionalName};
104104

0 commit comments

Comments
 (0)