lexer: unmatched delimiters? in my commits? Shame! Shame for a thousand years!

This commit is contained in:
John 2023-10-16 22:42:32 -05:00
parent 4870ff17ba
commit 2ce89eec82

View File

@ -1052,7 +1052,6 @@ pub mod lexer {
.or_else(|| self.punctuation()) .or_else(|| self.punctuation())
.or_else(|| self.invalid()) .or_else(|| self.invalid())
} }
}
/// Attempts to produce a [Type::String], [Type::Float], or [Type::Integer] /// Attempts to produce a [Type::String], [Type::Float], or [Type::Integer]
pub fn literal(&mut self) -> Option<Token> { pub fn literal(&mut self) -> Option<Token> {
None.or_else(|| self.string()) None.or_else(|| self.string())