File: keywords.gperf

package info (click to toggle)
ccontrol 0.9.1+20060806-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 440 kB
  • ctags: 188
  • sloc: ansic: 1,478; sh: 302; makefile: 142; python: 141; xml: 64
file content (35 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
%{
/* Keep -Wmissing-declarations happy: */
const struct ccontrol_command *
find_keyword (register const char *str, register unsigned int len);
%}
%language=ANSI-C
struct ccontrol_command {
	const char *name;
	enum token_type type;
};
%define hash-function-name hash_keyword
%define lookup-function-name find_keyword
%readonly-tables
%enum
%struct-type
%compare-strncmp
%%
no-parallel, NO_PARALLEL
parallel, PARALLEL
cc, CC
c++, CPLUSPLUS
ld, LD
make, MAKE
ccache, CCACHE
distcc, DISTCC
distcc-hosts, DISTCC_HOSTS
distc++-hosts, DISTCPLUSPLUS_HOSTS
verbose, VERBOSE
nice, NICE
include, INCLUDE
cpus, CPUS
disable, DISABLE
add, ADD
env, ENV
lock-file, LOCK_FILE