parser: remove "numeric" module, since (like cl) literals are handled in the lexer.
This commit is contained in:
@@ -7,8 +7,6 @@ use crate::{
|
|||||||
};
|
};
|
||||||
use std::{error::Error, fmt::Display, vec};
|
use std::{error::Error, fmt::Display, vec};
|
||||||
|
|
||||||
pub mod numeric;
|
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||||
pub enum ParseError {
|
pub enum ParseError {
|
||||||
FromLexer(LexError),
|
FromLexer(LexError),
|
||||||
@@ -20,6 +18,7 @@ pub enum ParseError {
|
|||||||
NotInfix(TKind, Span),
|
NotInfix(TKind, Span),
|
||||||
NotPostfix(TKind, Span),
|
NotPostfix(TKind, Span),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Error for ParseError {}
|
impl Error for ParseError {}
|
||||||
impl Display for ParseError {
|
impl Display for ParseError {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
Reference in New Issue
Block a user