mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-14 16:45:25 +00:00
Make incognito a CodeFlag bit
This commit is contained in:
parent
a499fb775a
commit
ed09df8223
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ impl<O: OutputStream> Compiler<O> {
|
|||
}
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue