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