From 3db7ebc0d503511e255926d105aa0d5f6cbfdadd Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Tue, 24 Mar 2026 18:14:09 +0900 Subject: v0.13.3 --- src/ast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index e1c6d9a..3d37857 100644 --- a/src/ast.c +++ b/src/ast.c @@ -100,7 +100,7 @@ void recordVal(SymbolTable *table, char *name, long val) { static Ast *AstHeap; static int NextPtr_AstHeap; -#define MAX_AST_HEAP 10000 +//#define MAX_AST_HEAP 10000 void ast_heapInit(void) { @@ -126,7 +126,7 @@ static Ast *ast_myalloc(void) { ptr=&AstHeap[NextPtr_AstHeap]; NextPtr_AstHeap++; } else { - printf("[Error] All memory for AST was run out.\n"); + printf("Error: All memory for AST was run out.\n"); exit(-1); } -- cgit v1.2.3