summaryrefslogtreecommitdiff
path: root/bcc/bcc-cc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/bcc-cc1.c')
-rw-r--r--bcc/bcc-cc1.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/bcc/bcc-cc1.c b/bcc/bcc-cc1.c
new file mode 100644
index 0000000..d6fece3
--- /dev/null
+++ b/bcc/bcc-cc1.c
@@ -0,0 +1,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;
+}