优化源码配置宏位置,方便个性化编译

This commit is contained in:
2025-12-16 09:13:30 +08:00
parent 08589dfe79
commit cd75b098f5
9 changed files with 62 additions and 36 deletions

View File

@ -1,7 +1,7 @@
#ifndef INTERPRETER
#define INTERPRETER
#define MAX_BUF 256
#include "config.h"
#define SIG_MOD 0
#define FILE_MOD 1
@ -37,7 +37,7 @@ typedef struct ctx
int line;//当前行长度
int word;//当前解释词位置
args *arg;//当前环境下参数链表
char command[MAX_BUF];//当前行缓存
char command[INTER_MAX_BUF];//当前行缓存
int statue;//当前状态
int fifofd[2];
log_manager *log_manager;