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
c45b615a379e5b9cbcf951f9d738a1be77a5964b
third_party_mesa3d/glcpp/tests/062-if-0-skips-garbage.c

6 lines
44 B
C
Raw Normal View History

Fix #if-skipping to *really* skip the skipped group. Previously we were avoiding printing within a skipped group, but we were still evluating directives such as #define and #undef and still emitting diagnostics for things such as macro calls with the wrong number of arguments. Add a test for this and fix it with a high-priority rule in the lexer that consumes the skipped content.
2010-06-01 11:20:18 -07:00
#define foo(a,b)
#if 0
foo(bar)
foo(
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 50ms Template: 1ms
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