Compiler: Increase the maximum number of array dimension (#584)

* Compiler: Increase the maximum number of array dimension to 4

* Compiler: Fix array initialization
This commit is contained in:
Vincent Herbet
2018-10-13 15:05:04 +02:00
committed by GitHub
parent 7f7d01fb8d
commit fb615aaef1
2 changed files with 41 additions and 46 deletions

View File

@ -54,7 +54,7 @@
#define CTRL_CHAR '^' /* default control character */
#define sCHARBITS 8 /* size of a packed character */
#define sDIMEN_MAX 3 /* maximum number of array dimensions */
#define sDIMEN_MAX 4 /* maximum number of array dimensions */
#define sLINEMAX 4095 /* input line length (in characters) */
#define sCOMP_STACK 32 /* maximum nesting of #if .. #endif sections */
#define sDEF_LITMAX 500 /* initial size of the literal pool, in "cells" */