mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
generate comment
This commit is contained in:
parent
2035dd115d
commit
a19f118510
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -7,4 +7,8 @@ target/
|
|||
**/*.rs.bk
|
||||
|
||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||
*.pdb
|
||||
*.pdb
|
||||
|
||||
# Generated by the compiler
|
||||
/*.cpp
|
||||
/*.out
|
|
@ -22,6 +22,8 @@ impl Codegen {
|
|||
}
|
||||
|
||||
pub fn gen(&mut self, irs: Vec<IR>) {
|
||||
self.emit(format!("// Auto-generated by hazure compiler version {}\n", env!("CARGO_PKG_VERSION")));
|
||||
|
||||
for module in MODULE_INCLUDES {
|
||||
self.emit(format!("#include {}\n", module));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue