Logo
Explore Help
Register Sign In
OpenHarmony/third_party_mesa3d
2
0
Fork 0
You've already forked third_party_mesa3d
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
62b4b7785a01f11e7fcd9bf76dae6b3c0a16d537
third_party_mesa3d/glcpp/tests/039-func-arg-obj-macro-with-comma.c

4 lines
50 B
C
Raw Normal View History

Add test (and fix) for a function argument of a macro that expands with a comma. The fix here is quite simple (and actually only deletes code). When expanding a macro, we don't return a ',' as a unique token type, but simply let it fall through to the generic case.
2010-05-20 12:06:33 -07:00
#define foo(a) (a)
#define bar two,words
foo(bar)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 61ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API