lexer: unmatched delimiters? in my commits? Shame! Shame for a thousand years!
This commit is contained in:
parent
4870ff17ba
commit
2ce89eec82
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user