From 0d7fa6059bb63bbf50732487d43187ad605c3288 Mon Sep 17 00:00:00 2001 From: xxrjun Date: Thu, 28 Dec 2023 11:08:14 +0800 Subject: [PATCH] refactor: resize the MAX var of stack and table --- src/minilisp.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minilisp.y b/src/minilisp.y index 9ba214c..e9d43b3 100644 --- a/src/minilisp.y +++ b/src/minilisp.y @@ -13,8 +13,8 @@ #define EXIT_WHEN_ERROR_IN_DEBUG_MODE 1 #define HASH_NUMBER 5381 - #define MAX_SYMBOL_TABLE_SIZE 100000 - #define MAX_SCOPE_STACK_SIZE 1000000 + #define MAX_SYMBOL_TABLE_SIZE 100 + #define MAX_SCOPE_STACK_SIZE 100 int yylex(); void yyerror(const char* message);