refactor: 移除词法分析器中的调试代码
This commit is contained in:
parent
00f73ecb47
commit
3406e1a2dd
@ -56,9 +56,9 @@ public class LexerEngine {
|
||||
/* 2. 后置整体校验 */
|
||||
validateTokens();
|
||||
/* 3. 打印 token */
|
||||
if (SnowConfig.isDebug()) {
|
||||
TokenPrinter.print(tokens);
|
||||
}
|
||||
// if (SnowConfig.isDebug()) {
|
||||
// TokenPrinter.print(tokens);
|
||||
// }
|
||||
|
||||
/* 4. 统一报告错误 */
|
||||
report(errors);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user