McCode icon indicating copy to clipboard operation
McCode copied to clipboard

Check that statically declared 3-dimensional arrays are allowed in McCode 3 COMP grammar

Open willend opened this issue 2 years ago • 0 comments

From debugging-session with Steffen Sloth it seems that current COMP grammar only handles

DECLARE %{
     int oned[nx];
     int twod[nx][ny];
     // but not int threed[nx][ny][nz];
%}

The grammar should allow for 3d definitions, and we should further consider int versions of the DArrayXd types /functions/etc

willend avatar May 03 '22 13:05 willend