mirror of
https://github.com/frida/tinycc
synced 2024-12-27 15:19:41 +03:00
38e5cf0983
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 <<=
|