diff options
author | Carl Worth <[email protected]> | 2012-11-28 17:32:03 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2012-11-29 13:03:02 -0800 |
commit | 89cd6df03481dcf0dae948878ad1f77c819b442d (patch) | |
tree | 191ecb2866a8ed80eb01d6ed121123ea87bfcc06 /src/glsl/main.cpp | |
parent | 522d1ccd77a7eea0421bcb0dcfa88b601146b6d1 (diff) |
glcpp: Add test involving token pasting of INTEGER tokens.
This test file is very similar to test 113-line-and-file-macros but uses token
pasting for cleaner quiz answers (without spaces between the digits). This
test passes thanks to the recent addition of support for pasting INTEGER
tokens, (but would have failed without that).
(Note that this test is distinct from test 059-token-pasting-integer which
pastes integers parsed from the source. Those are parsed to INTEGER_STRING
tokens and are already pasted correctly as verified by that test. The only way
to generate the INTEGER tokens which currently fail to paste is with an
internal define such as __LINE__ that results in an integer.)
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/main.cpp')
0 files changed, 0 insertions, 0 deletions