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
initial
[prop.git]
/
prop-src
/
frontend.cc
blob
4e9fcf32ed8f4cf4d85e22bf048f93e595bbef72
1
#include <iostream.h>
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
}