Skip to content

Commit

Permalink
SymbolExternalizer: Add ! to TOKEN_VECTOR
Browse files Browse the repository at this point in the history
Otherwise it doesn't recognize the following expression:

	if (unlikely(!check_prev_ino(leaf, key, slot, prev_key)))

Closes: #129
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
  • Loading branch information
marcosps authored and giulianobelinassi committed Sep 20, 2024
1 parent 0a13816 commit bb815fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcextract/SymbolExternalizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/* Tokenize away the function-like macro stuff or expression, we only want
the identifier. */
#define TOKEN_VECTOR " ().,;+-*/^|&{}[]<>^&|\r\n\t"
#define TOKEN_VECTOR " ().,;+-*/^|&{}[]<>^&|!\r\n\t"

/* Return the ranges for all identifiers on the ids vector */
template <typename T>
Expand Down

0 comments on commit bb815fa

Please sign in to comment.