Form feed is whitespace
This commit is contained in:
parent
af443f8f57
commit
64fbc96d9d
@ -145,7 +145,7 @@ impl<'a> Iterator for Lexer<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn is_whitespace(c: char) -> bool {
|
fn is_whitespace(c: char) -> bool {
|
||||||
c == ' ' || c == '\n' || c == '\r'
|
c == ' ' || c == '\n' || c == '\r' || c == FORM_FEED
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Lexer<'a> {
|
impl<'a> Lexer<'a> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user