mirror of
https://github.com/frida/tinycc
synced 2025-02-16 15:23:59 +03:00
![Michael Matz](/assets/img/avatar_default.png)
When tokens in macro definitions need cstr_buf inside get_tok_str, the second might overwrite the first (happens when tokens are multi-character non-identifiers, see testcase) in macro_is_equal, failing to diagnose a difference. Use a real local buffer.
4 lines
60 B
C
4 lines
60 B
C
/* The following should warn */
|
|
#define A ...
|
|
#define A <<=
|