Adding required headers on top of file.
This commit is contained in:
parent
c326de1131
commit
7e9bc1a55e
|
@ -179,6 +179,9 @@ void Main::emit(std::ostream &stream, int indent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Program::emit(std::ostream &stream, int indent) {
|
void Program::emit(std::ostream &stream, int indent) {
|
||||||
|
stream << "#include <iostream>\n";
|
||||||
|
stream << "#include <cstdlib>\n\n";
|
||||||
|
|
||||||
for (Function *f: functions) {
|
for (Function *f: functions) {
|
||||||
f->emit(stream);
|
f->emit(stream);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user