[flang] My last change neglected to include the change to the message.
authorPeter Steinfeld <psteinfeld@nvidia.com>
Wed, 10 Apr 2019 22:13:56 +0000 (15:13 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 22:35:44 +0000 (15:35 -0700)
Original-commit: flang-compiler/f18@09444379f76e47401cf60f5589d65fcfd3dba7fa
Reviewed-on: https://github.com/flang-compiler/f18/pull/400
Tree-same-pre-rewrite: false

flang/lib/semantics/resolve-labels.cc

index a9362dd..aa98196 100644 (file)
@@ -898,7 +898,7 @@ void CheckLabelDoConstraints(const SourceStmtList &dos,
               TargetStatementEnum::CompatibleDo)) {
         errorHandler.Say(doTarget.parserCharBlock,
             parser::MessageFormattedText{
-                "Only an END DO or CONTINUE must be used to terminate a labeled DO loop"_err_en_US});
+                "END DO or CONTINUE must be used to terminate a labeled DO loop"_err_en_US});
       } else {
         errorHandler.Say(doTarget.parserCharBlock,
             parser::MessageFormattedText{