blob: 46acfe5c59f2bb77fd0bc6f09372c83f767e23da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# the main program
@include dump.awk
@include header.awk
@include util.awk
@include template.awk
@include parsefn.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");
printf("Producing harness...\n");
produce_harness("test.h");
printf("Done.\n");
exit 0;
}
|