1
0
mirror of https://github.com/mirror/tinycc.git synced 2025-03-02 08:20:06 +08:00
Commit Graph

1 Commits

Author SHA1 Message Date
Michael Matz
38e5cf0983 tccpp: Fix macro_is_equal
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.
2016-12-15 17:47:05 +01:00