Take TokenError type out of schala-lib

This commit is contained in:
greg
2017-11-01 22:41:34 -07:00
parent ef7412dcd5
commit 9545130fd3
4 changed files with 24 additions and 13 deletions

View File

@@ -2,17 +2,6 @@ extern crate colored;
use self::colored::*;
#[derive(Debug)]
pub struct TokenError {
pub msg: String,
}
impl TokenError {
pub fn new(msg: &str) -> TokenError {
TokenError { msg: msg.to_string() }
}
}
pub struct LLVMCodeString(pub String);
#[derive(Debug, Default, Serialize, Deserialize)]