aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2026-03-24 18:14:09 +0900
committerShinya Sato <shinnya.sato@gmail.com>2026-03-24 18:14:09 +0900
commit3db7ebc0d503511e255926d105aa0d5f6cbfdadd (patch)
tree785f7fbb384e1757271405ee6a35fcf169224933 /src/ast.c
parent11dd49da1625e1a8197c6d9f8d22743a974ddb72 (diff)
downloadinpla-3db7ebc0d503511e255926d105aa0d5f6cbfdadd.tar.gz
inpla-3db7ebc0d503511e255926d105aa0d5f6cbfdadd.zip
v0.13.3
Diffstat (limited to '')
-rw-r--r--src/ast.c4
1 files changed, 2 insertions, 2 deletions
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);
}