修复分析词法BUG
This commit is contained in:
parent
15adffe786
commit
2f1fa81197
@ -45,6 +45,7 @@ func parseLexical(jsonData string) ([]lexicalNode, error) {
|
||||
Val: currentChar,
|
||||
IsToken: true,
|
||||
})
|
||||
tmpStr = ""
|
||||
} else {
|
||||
// 不是关键词, 继续向后走
|
||||
tmpStr = tmpStr + currentChar
|
||||
|
Loading…
Reference in New Issue
Block a user