nojanath / SublimeKSP

Fork of Nils Liberg's SublimeKSP plugin. See README for details.
GNU General Public License v3.0
84 stars 18 forks source link

Compilation error when declaring a local 2D array in a function #457

Closed raptor-666 closed 1 month ago

raptor-666 commented 1 month ago

I encountered a compilation error when trying to declare a local two-dimensional array within a function in a script. The script fails to compile and produces a syntax error.

Example Code::

function test_funct
    declare test_array[2, 2]
end function

Expected Behavior: The script should compile without any errors.

Actual Behavior: The script fails to compile.

Screenshot: image

mkruselj commented 1 month ago

Duplicate of #90