parser: remove "numeric" module, since (like cl) literals are handled in the lexer.

This commit is contained in:
2025-10-16 22:50:04 -04:00
parent e1419fa430
commit 70042f4ed0
2 changed files with 1 additions and 3 deletions

View File

@@ -7,8 +7,6 @@ use crate::{
};
use std::{error::Error, fmt::Display, vec};
pub mod numeric;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum ParseError {
FromLexer(LexError),
@@ -20,6 +18,7 @@ pub enum ParseError {
NotInfix(TKind, Span),
NotPostfix(TKind, Span),
}
impl Error for ParseError {}
impl Display for ParseError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {