diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2026-03-24 18:14:09 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2026-03-24 18:14:09 +0900 |
| commit | 3db7ebc0d503511e255926d105aa0d5f6cbfdadd (patch) | |
| tree | 785f7fbb384e1757271405ee6a35fcf169224933 /src/ast.c | |
| parent | 11dd49da1625e1a8197c6d9f8d22743a974ddb72 (diff) | |
| download | inpla-3db7ebc0d503511e255926d105aa0d5f6cbfdadd.tar.gz inpla-3db7ebc0d503511e255926d105aa0d5f6cbfdadd.zip | |
v0.13.3
Diffstat (limited to '')
| -rw-r--r-- | src/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
