Possibly removed the need for ensure_semicolon
This commit is contained in:
@@ -12,7 +12,6 @@ use mist_parser::{
|
||||
};
|
||||
|
||||
pub struct Context {
|
||||
pub expr_ensure_semicolon: bool,
|
||||
pub expr_super: Option<ExprPath>,
|
||||
}
|
||||
|
||||
@@ -81,7 +80,6 @@ impl RustCodegen {
|
||||
|
||||
pub fn generate(&mut self, toplevels: Vec<TopLevel>) -> String {
|
||||
let mut ctx = Context {
|
||||
expr_ensure_semicolon: true,
|
||||
expr_super: None,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user