First of all, my commiserations.

Second, you need to deal with this in the scanner, not in the parser.

Essentially, any scanner that processes random data (aka comment) as if it were program statements is going to fail miserably. And so will any parser that attempts to make sense of the maelstrom of random tokens it receives as a result.

On 12/6/20 17:24, Maury Markowitz wrote:
In (8-bit) MS BASIC, you can do this:


Reply via email to