修复分析词法BUG

This commit is contained in:
zhangdeman committed 2022-07-04 18:47:50 +08:00
1 parent 15adffe786
commit 2f1fa81197
1 file changed
+1
+1
View File
@@ -45,6 +45,7 @@ func parseLexical(jsonData string) ([]lexicalNode, error) {
Val: currentChar,
IsToken: true,
})
tmpStr = ""
} else {
// 不是关键词, 继续向后走
tmpStr = tmpStr + currentChar
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.