Fix scripts to generate correct tables for compilers which have character constants...
[Samba/gebeck_regimport.git] / source3 / aparser / main.awk
blob4969f2217a27379f5752b5804d637366af6adc2e
1 # the main program
3 @include dump.awk
4 @include header.awk
5 @include util.awk
6 @include template.awk
7 #@include parsefn.awk
8 @include parserel.awk
9 @include harness.awk
10 @include parsetree.awk
11 @include token.awk
13 END {
14 dump_structs("dump.out");
15 printf("Producing headers...\n");
16 produce_headers("prs_"module".h");
17 # printf("Producing parsers...\n");
18 # produce_parsers("prs_"module".c", "mod_"module".c");
19 printf("Producing relative parsers...\n");
20 produce_relative("prs_"module".c");
21 printf("Producing harness...\n");
22 produce_harness("test.h");
23 printf("Done.\n");
24 exit 0;