File: preprocessor16.c

package info (click to toggle)
sparse 0.6.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,868 kB
  • sloc: ansic: 46,050; sh: 614; python: 301; perl: 293; makefile: 279
file content (30 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#if 0
/*
From 6.10.1(5):
	Each directive's condition is checked in order.  If it evaluates
	to false (zero), the group it controls is skipped: directives are
	processed only through the name that determines the directive in
	order to keep track of the level of nested conditionals; the rest
	of the directives' preprocessing tokens are ignores, >>as are the
	other preprocessing tokens in the group<<.

In other words, bogus arguments of directives are silently ignored and
so are text lines and non-directives (# <something unknown>).  We *do*
complain about the things like double #else or #elif after #else, since
they hit before we get to the level of groups.
*/

#define 1
#undef 1
#bullshit

#endif
/*
 * check-name: Preprocessor #16
 * check-command: sparse -E $file
 *
 * check-output-start


 * check-output-end
 */