修复输入JSON不完整, 词法分析丢数据问题
This commit is contained in:
parent
b85023e57f
commit
030828cab9
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user