Skip to content

Leave blank spaces in front of C preprocessing directives #297

Closed
@fredcouderc

Description

@fredcouderc

For the sake of code readability, I like to be able to leave blank spaces front of C preprocessing directives,

PROGRAM test

   implicit none

   #if defined USE_DOUBLE
   real(8) :: r
   #else
   real(4) :: r
   #endif

END PROGRAM

which I then process with sed directives before compilation in my makefile.

It is possible to add this possibility in regex formulas and have no error of kind: Variable "r" declared twice in scope ?

Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinvestigateIssue requires research to see if it can be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions