mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
eee003da6a
so the same parser generator can be uses for cifs and rpc
(This used to be commit c7829fa0d8
)
26 lines
576 B
Awk
26 lines
576 B
Awk
# 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;
|
|
}
|