Remove more unused variables

This commit is contained in:
greg 2019-05-14 11:15:12 -07:00
parent efbeff916a
commit 4ebf7fe879

View File

@ -57,7 +57,7 @@ pub struct Schala {
impl Schala { impl Schala {
fn handle_docs(&self, source: String) -> LangMetaResponse { fn handle_docs(&self, source: String) -> LangMetaResponse {
LangMetaResponse::Docs { LangMetaResponse::Docs {
doc_string: format!("<<Schala-lang documentation not yet implemented>>") doc_string: format!("Schala item `{}` : <<Schala-lang documentation not yet implemented>>", source)
} }
} }
} }
@ -134,9 +134,9 @@ fn parsing(input: Vec<tokenizing::Token>, handle: &mut Schala, comp: Option<&mut
}; };
let ast = parser.parse(); let ast = parser.parse();
let trace = parser.format_parse_trace(); let _trace = parser.format_parse_trace();
comp.map(|comp| { comp.map(|_comp| {
/* /*
//TODO need to control which of these debug stages get added //TODO need to control which of these debug stages get added
let opt = comp.cur_debug_options.get(0).map(|s| s.clone()); let opt = comp.cur_debug_options.get(0).map(|s| s.clone());