修复输入JSON不完整, 词法分析丢数据问题

This commit is contained in:
zhangdeman committed 2022-07-05 17:13:10 +08:00
1 parent b85023e57f
commit 030828cab9
1 file changed
+8
+8
View File
@@ -83,6 +83,14 @@ func (l *lexical) Parse() error {
}
}
if len(tmpStr) > 0 {
l.lexicalResult = append(l.lexicalResult, &lexicalNode{
Val: tmpStr,
IsToken: false,
Type: NodeTypeString,
})
}
return nil
}
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.