Recompiling old project see "No line 601 in clock.mc"

Hi,

I am recompiling an old project to add in the FR165 and I am seeing an error in the debug console (it seems to compile without issue):

"No line 601 in clock.mc"

The effect is to simply disable the code that includes line 601 (line 601 is definitely there in the script! It is a close curly parenthesis!).

I am checking my code for typos, and I am trying to eliminate the warnings from the type checking build process, but I can see no reason for this.

Anybody encountered anything similar and been able to resolve it?

Thanks,

G

  • This post is useless. You have no mention of the SDK version, the IDE you use. And obviously not 1 bit of your code. (No, don't post here 601 lines of code, nobody will read it)

    If you happen to use VSC then if you stop the cursor on any opening/closing parenthesis of any kind it will show you where it's pair is.

  • Guilty as charged on most of that... (FYI: VSCode, latest SDK.)

    But not the pasting code thing. No code has changed, no code is invalid. The only thing I could do is post the entire project... 

    It turns out that I had a corrupt file somehow. I simply deleted and recreated the file with the same code and it worked.