mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08: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 <<=
|