[all-commits] [llvm/llvm-project] 2ec1a3: [flang][preprocessor] Handle initial "MACRO&" with...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jul 18 14:12:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ec1a39bcb1ab893f4b6cde7fc9e24cfdff0aeb6
https://github.com/llvm/llvm-project/commit/2ec1a39bcb1ab893f4b6cde7fc9e24cfdff0aeb6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-18 (Thu, 18 Jul 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
M flang/test/Preprocessing/directive-contin-with-pp.F90
Log Message:
-----------
[flang][preprocessor] Handle initial "MACRO&" with no space (#98684)
The prescanner checks lines that begin with a keyword macro name to see
whether they should be treated as a comment or compiler directive
instead of a source line. This fails when the potential keyword macro
name is extended with identifier characters via Fortran line
continuation. Disable line continuation during this check.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list