Closed WarrenQuill closed 9 months ago
That's expected. It is really an unknown statement, because it's a comment. You can handle it via this event and continue executing. Also you're welcome to add support for comments into the parser (but it's not a one afternoon project).
An exception is thrown in the
Parse
method ofFbScript
when the source script contains a trailing comment.Exception:
Code:
Source script:
Removing the comment does not result in an exception. Behaviour changed between 4.8.1.1. & 4.9.0-beta, and remains the case in 9.2.0-beta.