But since 0 is a valid hash value maybe keyword_hash should be incremented to get a different hash value so the comparison fails, otherwise the problem might still appear one in every 2^32 times the user swaps C and C++ types on the file 😜 .

There's already this "problem" where two different sets of keywords may have the same hash. But probably not a problem in practice.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3550/1713497611@github.com>