Skip to content

fix // comments not parsing on hashlink - #31

Open
Villezen wants to merge 1 commit into
CodenameCrew:codename-devfrom
Villezen:fix-comments
Open

Villezen wants to merge 1 commit into
CodenameCrew:codename-devfrom
Villezen:fix-comments

Conversation

@Villezen

Copy link
Copy Markdown

on hashlink, any script with // comments doesn't parse properly

On hashlink, when you do buf.toString() it doesn't clone the buffer, so pop (the saved first /) becomes // like op and that causes everything to break

This replaces the StringBuf with a normal string cause that ended up fixing it

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