[all-commits] [llvm/llvm-project] f6ddfa: [flang] Enforce fixed form rules about END continu...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 17 10:59:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6ddfac401b8a5dfbf7623ebd8800df5184fa244
      https://github.com/llvm/llvm-project/commit/f6ddfac401b8a5dfbf7623ebd8800df5184fa244
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/lib/Parser/token-sequence.h
    A flang/test/Parser/end.f

  Log Message:
  -----------
  [flang] Enforce fixed form rules about END continuation

>From subclause 6.3.3.5: a program unit END statement cannot be
continued in fixed form, and other statements cannot have initial
lines that look like program unit END statements.  I think this
is to avoid violating assumptions that are important to legacy
compilers' statement classification routines.

Differential Revision: https://reviews.llvm.org/D109933




More information about the All-commits mailing list