From ed09df8223d740737889ed6adbee800768d82a8e Mon Sep 17 00:00:00 2001 From: Noah <33094578+coolreader18@users.noreply.github.com> Date: Sat, 8 Feb 2020 23:23:03 -0600 Subject: [PATCH] Make incognito a CodeFlag bit --- src/compile.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compile.rs b/src/compile.rs index bceee87..e602159 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -189,7 +189,8 @@ impl Compiler { } fn push_output(&mut self, mut code: CodeObject) { - code.incognito = self.opts.incognito; + code.flags + .set(bytecode::CodeFlags::INCOGNITO, self.opts.incognito); self.output_stack.push(code.into()); }