Page 1 of 1

Illogical compilation error

Posted: Sat Jan 15, 2022 9:22 pm
by garryp4
I keep getting a Compilation Error message that is always on line 13. First it was showing up in the commented out text header. I deleted the header then the error happen on an Include line. I can add lines to move the code up or down but the error is always on line 13. I completely uninstalled the reinstalled Swordfish but this still happens. It makes no sense.

I attached two pictures showing the error at the same place.

Re: Illogical compilation error

Posted: Sun Jan 16, 2022 8:20 am
by David Barker
I am unable to reproduce the error here.

Can you attach some files that exhibit this behaviour so I can test here.

Re: Illogical compilation error

Posted: Fri Feb 11, 2022 11:44 am
by Jerry Messina
Just in case someone else runs across an issue like this, it turns out that the cause was having a module name that starts with a numeric character, ie "module 1M_FRAM".

As with all identifiers, module names must start with an alpha character or underscore.