summaryrefslogtreecommitdiff
path: root/bcc/bcc-cc1.c
blob: 7ba8be0108f64ff81b011a164a794555060ccddd (plain)
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
26
/* bcc-cc1.c - "pass 1" for bcc */

/* Copyright (C) 1992 Bruce Evans */

#include "bcc.h"

PUBLIC int main(argc, argv)
int argc;
char **argv;
{
    growheap(0);		/* init order is important */
    syminit();
    etreeinit();
#ifdef BUILTIN_CPP
    ifinit();
    predefine();
#endif
    openio(argc, argv);
    codeinit();
    typeinit();
    program();
    finishup();

    /* NOTREACHED */
    return 0;
}