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 07:00:12 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
e8e93a4543
mesa
/
glcpp
/
tests
/
025-func-macro-as-non-macro.c
3 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Fix bug (and add test) for a function-like-macro appearing as a non-macro. That is, when a function-like macro appears in the content without parentheses it should be accepted and passed on through, (previously the parser was regarding this as a syntax error).
2010-05-17 10:34:29 -07:00
#
define foo(bar) bar
Tweak test 25 slightly, (so the non-macro doesn't end the file). This isn't a problem here, but on the take-2 branch, it was trickier at one point to make a non-macro work when the last token of the file. So we use the simpler test case here and defer the other case until later.
2010-05-28 15:13:11 -07:00
foo
bar
Reference in a new issue
Copy permalink