aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index e83c269..0754a1e 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -1781,7 +1781,7 @@ impl Compiler {
}
pub(crate) fn compile(&mut self, name: &str, file: &Path, functions: &[(String, RustFunction)]) -> Result<Prog, Vec<Error>> {
- let main = Variable::new("/main/", false, Type::Void);
+ let main = Variable::new("/preamble", false, Type::Void);
let slot = self.define(main).unwrap();
self.frame_mut().stack[slot].read = true;