This website requires JavaScript.
Explore
Help
Sign in
fdo-mirrors
/
mesa
Watch
1
Star
0
Fork
You've already forked mesa
0
mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced
2025-12-22 20:00:10 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
04ba86a536
mesa
/
glcpp
/
tests
/
015-define-object-with-parens.c
5 lines
44 B
C
Raw
Normal View
History
Unescape
Escape
Remove "unnecessary" whitespace from some tests. This whitespace was not part of anything being tested, and it introduces differences (that we don't actually care about) between the output of "gcc -E" and glcpp. Just eliminate this extra whitespace to reduce spurious test-case failures.
2010-05-20 14:05:37 -07:00
#
define foo ()1
Add test for an object-like macro with a definition beginning with '(' Our current parser sees "#define foo (" as an identifier token followed by a '(' token and parses this as a function-like macro. That would be correct for "#define foo(" but the preprocessor specification treats this whitespace as significant here so this test currently fails.
2010-05-13 10:26:58 -07:00
foo
(
)
Remove "unnecessary" whitespace from some tests. This whitespace was not part of anything being tested, and it introduces differences (that we don't actually care about) between the output of "gcc -E" and glcpp. Just eliminate this extra whitespace to reduce spurious test-case failures.
2010-05-20 14:05:37 -07:00
#
define bar ()2
bar
(
)
Reference in a new issue
Copy permalink