not sure?
This commit is contained in:
parent
ad974a40e5
commit
8d53533235
|
@ -105,7 +105,7 @@ pub fn lexer(text_source: &str) -> Result<Vec<Token>, KError> {
|
|||
let num = match current_token.parse::<f64>() {
|
||||
Ok(n) => n,
|
||||
Err(_) => {
|
||||
println!("{} {}", span_start, pos);
|
||||
debug!("{} {}", span_start, pos);
|
||||
return Err(KError::UserError(vec![
|
||||
Diagnostic {
|
||||
message: "invalid numeric literal".to_string(),
|
||||
|
|
Loading…
Reference in New Issue