Skip to content

Commit 7a2b6c4

Browse files
authored
fix: add break for CHAR_END_SUBTYPE (alibaba#299)
1 parent a804a3f commit 7a2b6c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/paimon/common/types/data_type_json_parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ std::vector<Token> Tokenize(const std::string& chars) {
267267
case CHAR_END_SUBTYPE:
268268
tokens.emplace_back(TokenType::END_SUBTYPE, cursor,
269269
std::to_string(CHAR_END_SUBTYPE));
270+
break;
270271
case CHAR_BEGIN_PARAMETER:
271272
tokens.emplace_back(TokenType::BEGIN_PARAMETER, cursor,
272273
std::to_string(CHAR_BEGIN_PARAMETER));

0 commit comments

Comments
 (0)