Refactor Mode and partial parser/codegen for eval/exec

This commit is contained in:
Jeong YunWon 2022-08-22 06:09:18 +09:00
parent 9c229ebb99
commit 3690272256
5 changed files with 7 additions and 2 deletions

View file

@ -18,7 +18,7 @@ use rustpython_ast as ast;
use rustpython_bytecode::{self as bytecode, CodeObject, ConstantData, Instruction};
use std::borrow::Cow;
pub use crate::mode::Mode;
pub use rustpython_bytecode::Mode;
type CompileResult<T> = Result<T, CompileError>;