ShabbyX/shCompiler — Issue #1: Give error on tokens producing lambda
Author: ShabbyX
Created: 2012-02-23 23:59:12+00:00
State: open

This is because if not, they can generate an infinite loop.

Alternatively, in the lexer make sure you don't match lambda.

Also, in the noTokenMatchFunction, change:

*lb < *f

to

*lb <= *f

and remove the following `if (fc[*f]) ...`

Also, change `if (*lb == '\n')` to `if (fc[*lb] == '\n')`. This is a BUG!