Skip to content

Commit

Permalink
Fix preprocessor suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jul 20, 2024
1 parent f9c4615 commit f67ad82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pya2l/extensions/tokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ Generator<TokenizerReturnType> tokenizer(std::basic_istream<char> &stream, bool
LineNumbers line_numbers{ start_line, start_column, line, column - 1 };
co_yield{ Token(TokenClass::STRING, line_numbers, token[char_class_to_int(current)]) };
token[char_class_to_int(CharClass::REGULAR)].clear();
string_class = false;
}
token[char_class_to_int(current)].push_back(ch);
} else {
Expand Down

0 comments on commit f67ad82

Please sign in to comment.