fortran-language-server
fortran-language-server copied to clipboard
multiple declarations for external functions
I work with LAPACK code a lot and they declare external functions in two lines, for example:
REAL SLANGE
EXTERNAL SLANGE
This trips up the multiple declarations error. Could there be an exception to this rule for complementary declarations?
Thanks for the report and sorry for the delay. Yes, this shouldn't throw an error since defining multiple "properties" in this way on separate lines is allowed and common place in legacy Fortran code. I will work on correcting this.
@thijssteel FYI, I have pushed a fix for this in fortls I just forgot to mention it