in reply to Error messages point to wrong line number in if-elsif construct

Have a look at if-elsif weirdness (and the explanation at Re: if-elsif weirdness) where the same issue was addressed some time ago.

It looks like it's either a well known bug or a behavior which most of the people are happy living with. :)

  • Comment on Re: Error messages point to wrong line number in if-elsif construct