Page 1 of 1

Parsing error on last line of LCB file

Posted: Thu Aug 07, 2025 3:47 pm
by trevix
Hello.
I keep getting the following error, no matter what:
16:33: Compiling module /Users/trevix/Desktop/MyTestB10/_TESTmieiClaude/ClaudeAppContents/extensionNew_12/com.trevix.minewbten/minewbten.lcb
16:33: Error: on line 636 ():
16:33: Error: /Users/trevix/Desktop/MyTestB10/_TESTmieiClaude/ClaudeAppContents/extensionNew_12/com.trevix.minewbten/minewbten.lcb:636:12: error: Parsing error: syntax error
end handler
^

16:33: Error: failed to compile module
16:33: Error: Could not compile module /Users/trevix/Desktop/MyTestB10/_TESTmieiClaude/ClaudeAppContents/extensionNew_12/com.trevix.minewbten
There are 636 lines in the LCB file.
If I remove the last handler, the parsing error moves again to the last line if it.
I now that debugging in LCB is tough, but this seems too much...

Is there a way to handle this?
Thanks

Re: Parsing error on last line of LCB file

Posted: Thu Aug 07, 2025 5:45 pm
by bn
Hi Trevix,

I can provoke that error when I omit

Code: Select all

end widget
as the last line.

Could that be the case for you? That is just a guess.

Or maybe another handler without end handler?

Kind regards
Bernd

Re: Parsing error on last line of LCB file

Posted: Fri Aug 08, 2025 9:06 am
by trevix
Good catch!
I was missing "end library".
Thanks