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

/* Copyright (C) 1992 Bruce Evans */

#include "const.h"
#include "types.h"

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

    /* NOTREACHED */
    return 0;
}