Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flang][preprocessor] Extend handling of line continuation replacements #107010

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Sep 2, 2024

  1. [flang][preprocessor] Extend handling of line continuation replacements

    Codes using traditional C preprocessors will sometimes put a keyword
    macro name in a free form continuation line in order to get macro
    replacement of part of an identifier, as in
    
      call subr_&
        &N&
        &(1.)
    
    where N is a keyword macro.  f18 already handles this case, but not
    when there is white space between the macro name and the following
    continuation marker character '&'.  Allow white space to appear.
    
    Fixes llvm#106931.
    klausler committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    cfebb9d View commit details
    Browse the repository at this point in the history