NotNite / GDWeave

Mod loader & runtime script patching for Godot
MIT License
140 stars 12 forks source link

Fix a few issues with ScriptTokenizer.cs #30

Closed DrMeepso closed 4 days ago

DrMeepso commented 4 days ago
{"{", TokenType.CurlyBracketOpen},
{"}", TokenType.CurlyBracketOpen},

^ This don't look right!

Getting errors when using the script tokenizer about unexpected "{" image Turns out it never places a }, because it puts a { !

DrMeepso commented 4 days ago

Was running into it not parsing the nl tabs properly

DrMeepso commented 4 days ago

Also, because the tokenizer is discarding spaces method names starting with is are tokenized as PRIS, Identifier