satamas / fortran-plugin

Fortran language plugin for IntelliJ Idea
Apache License 2.0
80 stars 18 forks source link

cpp style macros highlighting not working correctly #163

Open anddebol opened 1 week ago

anddebol commented 1 week ago

something like

#ifdef  my_flag
   call my_function
#endif

if the -Dmy_flag is passed via cmake gets the call greyed out as if the macro is not defined. Works normally if its defined explicitly in the file before ifdef