Skip to content

Fix minor issue regarding function names#13

Open
sigma-ware wants to merge 1 commit into
rocult:mainfrom
sigma-ware:main
Open

Fix minor issue regarding function names#13
sigma-ware wants to merge 1 commit into
rocult:mainfrom
sigma-ware:main

Conversation

@sigma-ware
Copy link
Copy Markdown

Sometimes, code like this is generated:

function Initialize() -- name: Initialize end
task.spawn(Initialize)
return {}

Notice how "end" is commented out. This completely breaks the script, and messes with decompilation. Converting to a multi-line comment fixes this.
Now:

function Initialize() --[[ name: Initialize ]] end
task.spawn(Initialize)
return {}

@dunsameow
Copy link
Copy Markdown

Please

@BOXLEGENDARY
Copy link
Copy Markdown

Please

what

@SANS3R66
Copy link
Copy Markdown

can't you just do newline instead of --[[ ]]?

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.

4 participants