Hi Mikael,

Am 09.05.22 um 20:24 schrieb Mikael Morin:
The fix itself looks good.  Regarding the test, I don’t understand the
problem.  Can’t there be multiple subroutines, each having one (or more)
problematic statement(s)?

that's why I tried but failed.  Example:

subroutine a
  errorstop
end
subroutine b
  errorstop
end

This now gives just one (the first) error, after which it bails out:

xxx.f90:2:3:

    2 |   errorstop
      |   1
Error: Unclassifiable statement at (1)

That is the reason I mentioned it.

I'll commit the patch as-is.

Thanks for the review!
Harald

Reply via email to