Kill two compilation warnings

This commit is contained in:
greg 2016-12-29 02:09:44 -08:00
parent 3063de1242
commit e84550f3ec
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ extern crate llvm_sys;
use std::collections::HashMap;
use self::llvm_sys::prelude::*;
use parser::{ParseResult, AST, ASTNode, Prototype, Function, Expression};
use parser::{AST, ASTNode, Function, Expression};
use llvm_wrap as LLVMWrap;

View File

@ -114,7 +114,7 @@ fn repl_handler(input: &str, state: &mut InterpreterState) -> String {
let mut result = String::new();
let tokens = match tokenize(input) {
Err(e) => return format!("Tokenization error"),
Err(e) => return format!("Tokenization error: {}", e.msg),
Ok(t) => t,
};