summaryrefslogtreecommitdiff
path: root/bcc/bcc-cc1.c
blob: 00557cdb6c27d8023142fbe5e2c21f99a5fe23c3 (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
27
/* bcc-cc1.c - "pass 1" for bcc */

/* Copyright (C) 1992 Bruce Evans */

#include "bcc.h"

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

    /* NOTREACHED */
    return 0;
}