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
74704e80c69f400f7712aed4287a84adc13bfbed
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: 51ms Template: 0ms
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