From 02b6d0a2882212e404e21bb522783fa15901f30d Mon Sep 17 00:00:00 2001 From: Arkshine Date: Tue, 12 Aug 2014 22:06:18 +0200 Subject: [PATCH] Compiler: Increase input line length. 1023 can be achieved really fastly, e.g. with some SQL definitions. This is the same value as SM. --- compiler/libpc300/sc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/libpc300/sc.h b/compiler/libpc300/sc.h index ab5faa11..dffd03ec 100755 --- a/compiler/libpc300/sc.h +++ b/compiler/libpc300/sc.h @@ -55,7 +55,7 @@ #define sCHARBITS 8 /* size of a packed character */ #define sDIMEN_MAX 3 /* maximum number of array dimensions */ -#define sLINEMAX 1023 /* input line length (in characters) */ +#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" */ #define sDEF_AMXSTACK 4096 /* default stack size for AMX files */