Skip to content

Add support for table[index] syntax#13

Open
Benn20002 wants to merge 2 commits into
jkusner:masterfrom
Benn20002:fix-table-indexing-bracket-syntax
Open

Add support for table[index] syntax#13
Benn20002 wants to merge 2 commits into
jkusner:masterfrom
Benn20002:fix-table-indexing-bracket-syntax

Conversation

@Benn20002
Copy link
Copy Markdown

@Benn20002 Benn20002 commented Jan 30, 2024

When doing table[table2[index]] it throws an error because it thinks there still is unsolved multiline comments/strings.
I made it so it adds spaces between the brackets which is fine for lua and stops conflicting with multiline comments/strings.
Another possibility would've been to remove it from ALL_SYMBOLS but I dont think its as nice as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant