mirror of
https://github.com/joshuadavidthomas/django-template-ast.git
synced 2025-08-04 08:58:17 +00:00
oops, missed one
This commit is contained in:
parent
0988c53008
commit
25f7965f5b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl<'a> Lexer<'a> {
|
|||
'|' => TokenType::Pipe,
|
||||
'\'' => TokenType::SingleQuote,
|
||||
'"' => TokenType::DoubleQuote,
|
||||
_ => return Err(LexerError::UnexpectedCharacter(c, self.state.line)),
|
||||
_ => return LexerError::unexpected_character(c, self.state.line),
|
||||
};
|
||||
Ok(token_type)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue