优化源码配置宏位置,方便个性化编译
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user