Parser - Fixed comment

This commit is contained in:
Emmanuel BENOîT 2023-01-02 20:06:56 +01:00
parent 5d1d3bd0a4
commit c23ce47420

View file

@ -593,7 +593,6 @@ impl Parser {
/// primary := "(" expression ")" /// primary := "(" expression ")"
/// primary := FALSE | TRUE | NIL | STRING | NUMBER /// primary := FALSE | TRUE | NIL | STRING | NUMBER
/// primary := IDENTIFIER /// primary := IDENTIFIER
/// primary := call
/// ``` /// ```
fn parse_primary(&mut self) -> ParserResult<ast::ExprNode> { fn parse_primary(&mut self) -> ParserResult<ast::ExprNode> {
if self.expect(&[TokenType::LeftParen]).is_some() { if self.expect(&[TokenType::LeftParen]).is_some() {