repo.or.cz
/
prop.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
.gitignore
[prop.git]
/
prop-src
/
frontend.cc
blob
929980507981021704aa2f85644634fbd59f440e
1
#include <iostream>
2
#include
"basics.h"
3
#include
"parser.h"
4
5
void
front_end
(
const char
*
input_file_name
,
Compiler
&
C
)
6
{
7
PropParser P
;
8
extern
Decls program
;
9
P
.
initialize
(
C
);
10
P
.
initialize_lexer
(
input_file_name
);
11
P
.
parse
();
12
P
.
cleanup_lexer
();
13
program
=
P
.
program
;
14
}