修复输入JSON不完整, 词法分析丢数据问题
This commit is contained in:
		| @ -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