[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Unexplained LuaCheck error
- From: Sean Conner <sean@...>
- Date: Mon, 3 Apr 2017 05:31:30 -0400
I'm checking some Lua code with LuaCheck, and I run across this error:
test2.lua:292:19: left-hand side of assignment is too long
I checked the documentation online, and there's no explaination as to what
causes this particular error to trigger. It took me a while to notice the
size,use16 = opsize(parse.opcode.immediate) + 1 -- 
I'm not sure what phrase you could use in this case to make it more
apparent, but what's there isn't exactly that great.
-spc (Perhaps "left-hand assignment not coherent with right hand function
 I'm in the process of writing an assembler for an 8-bit CPU. Partly
because the one I have is not condusive to modification  and
party to expand my knowledge of LPeg.
 Pre-ANSI-C, almost exclusive use of globals, etc.