LuaLoader icon indicating copy to clipboard operation
LuaLoader copied to clipboard

some escaping issue on file transfer

Open aremes opened this issue 10 years ago • 1 comments

I tried to copy a file to the board. Worked fine until i did some indexing of arrays. ended up getting


> stdin:1: ')' expected near ']'```

the culprit was access of a specific element in a line that looks like this:

``` lua
x = somearray[1]

it was fixed by

x = (somearray[1])

might help someone with the same issue. If i get around to it, i might have a look at the code. Are pull-requests ok?

aremes avatar Apr 27 '15 13:04 aremes

Same issue persists after almost a year. Gave me quite a headache to realize that this caused entire lines missing from the uploaded source files and lua giving me nils all the time.

dobos avatar Feb 15 '16 21:02 dobos