aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/60_enum_redefinition.expect
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2017-07-09 05:30:47 +0200
committerMichael Matz <matz@suse.de>2017-07-09 05:30:47 +0200
commit824dcebe59f52a686b003214c1af0633cf5fe89e (patch)
treec3f0e9be1b79309bd2e02932c1ebe52b9609e8b2 /tests/tests2/60_enum_redefinition.expect
parent1f3d3957c4aa4d403b07245fe4f0a49ac8fefcc4 (diff)
downloadtinycc-824dcebe59f52a686b003214c1af0633cf5fe89e.tar.gz
tinycc-824dcebe59f52a686b003214c1af0633cf5fe89e.tar.bz2
tccpp: Implement __COUNTER__
This requires one more change in how macro arguments are expanded: the standard requires that macro args are expanded before substituting into the replacement list. This implies expanding them only once even when they occur multiple times in the list. TCC expanded them repeatedly in that case. Without __COUNTER__ that's harmless. So, simply always expand arguments (when used without # and ##) once and store the resulting tokens.
Diffstat (limited to 'tests/tests2/60_enum_redefinition.expect')
0 files changed, 0 insertions, 0 deletions