File: main.awk

package info (click to toggle)
samba 2.2.3a-15
  • links: PTS
  • area: main
  • in suites: woody
  • size: 24,336 kB
  • ctags: 19,246
  • sloc: ansic: 179,555; sh: 6,888; perl: 2,091; makefile: 1,491; awk: 1,143; exp: 1,143; csh: 161
file content (25 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
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
# the main program

@include dump.awk
@include header.awk
@include util.awk
@include template.awk
#@include parsefn.awk
@include parserel.awk
@include harness.awk
@include parsetree.awk
@include token.awk

END {
	dump_structs("dump.out");
	printf("Producing headers...\n");
	produce_headers("prs_"module".h");
#	printf("Producing parsers...\n");
#	produce_parsers("prs_"module".c", "mod_"module".c");
	printf("Producing relative parsers...\n");
	produce_relative("prs_"module".c");
	printf("Producing harness...\n");
	produce_harness("test.h");
	printf("Done.\n");
	exit 0;
}