Skip to content

Commit

Permalink
src/demangle.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatoredipietro committed Jan 28, 2023
1 parent d8b4c0a commit 6104920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demangle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static bool ParseTwoCharToken(State *state, const char *two_char_token) {
static bool ParseCharClass(State *state, const char *char_class) {
const char *p = char_class;
for (; *p != '\0'; ++p) {
if (*(state->mangled_cur) == '\0') {
if (state->mangled_cur[0] == *p) {
++state->mangled_cur;
return true;
}
Expand Down

0 comments on commit 6104920

Please sign in to comment.