rakugoteam/Rakugo-Dialogue-System

We can define var in middle of the line

Jeremi360 opened this issue · 0 comments

We have now

SET_VARIABLE = "(?<lvar_name>{VARIABLE}) = ((?<text>{STRING})|(?<number>{NUMERIC})|(?<rvar_name>{VARIABLE}))"

Is doesn't start with ^ and doesn't ends with $ so we can do:
some x = 5 abc with no errors and ti give us var x = 5, but it should give us an error.
It should be possible only as x = 5.