📄 global.cpp
字号:
// global.cpp: implementation of the Cglobal class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "face.h"
#include "global.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Cglobal::Cglobal()
{
/* 源程序追踪标志,如果该标志为TRUE *
* 语法分析时将源程序行号写入列表文件listing */
EchoSource = false ;
/* 词法扫描追踪标志,如果该标志为TRUE *
* 将每个被词法扫描器识别的单词信息写入列表文件listing */
TraceScan = true;
/* 语法分析追踪标志,如果该标志为TRUE *
* 将语法树以线性形式(使用子节点缩进)写入列表文件listing */
TraceParse = true;
/* 语义分析追踪标志,如果该标志为TRUE *
* 将符号表插入和查找写入列表文件listing */
TraceTable = true;
TraceCode = true ;
/* 错误追踪标志,如果该标志为TRUE *
* 防止错误产生时进一步传递错误 */
Error= false;
}
Cglobal::~Cglobal()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -