Parse numeric literals

This commit is contained in:
Joscha 2022-11-18 12:55:02 +01:00
parent 932af88c84
commit ee832588ac
2 changed files with 67 additions and 6 deletions

View file

@ -69,9 +69,9 @@ impl fmt::Debug for NumLitStr {
/// before and after any digit.
#[derive(Clone)]
pub struct NumLit {
value: i64,
str: NumLitStr,
span: Span,
pub value: i64,
pub str: NumLitStr,
pub span: Span,
}
impl fmt::Debug for NumLit {