!60 refactor: 移除词法分析器中的调试代码
Merge pull request !60 from Luke/feature/del-tokens
This commit is contained in:
commit
5511978ed8
@ -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