Gen-lang/Gen

Gen "InvalidSyntaxError" pointing on an empty character

Closed this issue · 3 comments

Here is a screenshot:
image

Command used:

gen main.gen

main.gen:
image

I'll look at the string_with_arrows function.

Gen checks syntax first and then checks for undefined vars (in this case, endmak). So, when Gen throws this error, it does not know endmak is undefined yet.

Oh thanks.