~bug-zappers/ubuntu/lucid/samba/bugzapping

« back to all changes in this revision

Viewing changes to source/aparser/main.awk

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-10-15 12:31:58 UTC
  • Revision ID: james.westby@ubuntu.com-20041015123158-aokykzdqkdgy6dfx
Tags: upstream-3.0.7
ImportĀ upstreamĀ versionĀ 3.0.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# the main program
 
2
 
 
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
 
12
 
 
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;
 
25
}