This website requires JavaScript.
Explore
Help
Register
Sign In
OpenHarmony
/
third_party_mesa3d
Watch
2
Star
0
Fork
0
You've already forked third_party_mesa3d
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
6f510a49d2f3271432844d6b7e2bfe459b2126d4
third_party_mesa3d
/
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 New Issue
Copy Permalink