[all-commits] [llvm/llvm-project] c6dfb6: [flang] Support \u Unicode escape sequences (#76757)

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jan 15 09:35:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6dfb62d4df969fc50f42cf2889b10bb82f51b1f
      https://github.com/llvm/llvm-project/commit/c6dfb62d4df969fc50f42cf2889b10bb82f51b1f
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Parser/characters.h
    M flang/lib/Evaluate/character.h
    M flang/lib/Parser/characters.cpp
    M flang/runtime/edit-input.cpp
    A flang/test/Semantics/modfile60.f90

  Log Message:
  -----------
  [flang] Support \u Unicode escape sequences (#76757)

Support \uNNNN and \uNNNNNNNN escape sequences for CHARACTER(KIND=2) and
CHARACTER(KIND=4) literal constants for better GNU Fortran
compatibility.

Fixes llvm-test-suite/Fortran/gfortran/regression/achar_6.F90 and
.../widechar_1.f90.




More information about the All-commits mailing list