From cf1f2522df89bd52d700904e950a88f1ff7e2969 Mon Sep 17 00:00:00 2001 From: Enrico Zandomeni Borba Date: Thu, 11 Apr 2024 15:49:00 -0400 Subject: [PATCH] comment --- src/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ast.rs b/src/ast.rs index 12ef14c1..4a27000b 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -308,8 +308,8 @@ impl<'i> Parser<'i> { let nam = self.parse_name()?; Ok(Tree::Ref { nam }) } - // Int = "#" Int - // F32 = "#" Int "." Int + // Int = "#" [-] Int + // F32 = "#" [-] ( Int "." Int | "NaN" | "inf" ) Some('#') => { self.advance_char(); let is_neg = self.consume("-").is_ok();