Debug Uncaught SyntaxError: Unexpected token )

Monkey Forums/Monkey Bug Reports/Debug Uncaught SyntaxError: Unexpected token )

therevills(Posted 2013) [#1]
When running Jake's (GreyAlien) maze code in HTML5 in Debug mode, the generated JS creates an incorrect line or two:

Uncaught SyntaxError: Unexpected token )

dbg_array(t_rows,)[dbg_index]=dbg_array(t_rows,)[dbg_index]+"###"




Grey Alien(Posted 2014) [#2]
It also bugs out when compiling for Flash in Debug mode. It's fine in GLFW debug. This applies to my original code that was converted into the above code. Haven't actually tested the above code in Flash yet.


marksibly(Posted 2014) [#3]
Fixed in next update.


therevills(Posted 2014) [#4]
Thanks Mark.

BTW you might want to update the README.TXT on Github:

For more Monkey fun, please visit: http://www.monkeycoder.co.nz