Remove obsolete comments
This commit is contained in:
parent
032fe5fed9
commit
7221d2cb11
@ -578,7 +578,6 @@ fn extended_expr_part(input: Span) -> ParseResult<ExtendedPart> {
|
|||||||
))(input)
|
))(input)
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO this shouldn't be an expression b/c type annotations disallowed here
|
|
||||||
fn invocation_argument(input: Span) -> ParseResult<InvocationArgument> {
|
fn invocation_argument(input: Span) -> ParseResult<InvocationArgument> {
|
||||||
context(
|
context(
|
||||||
"invocation-argument",
|
"invocation-argument",
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
use super::Parser;
|
use super::Parser;
|
||||||
//TODO make use of the format_parse_error function
|
|
||||||
//use crate::error::{SchalaError, format_parse_error};
|
|
||||||
use crate::ast::*;
|
use crate::ast::*;
|
||||||
|
|
||||||
fn rc_string(s: &str) -> Rc<String> {
|
fn rc_string(s: &str) -> Rc<String> {
|
||||||
@ -264,7 +262,6 @@ peg::parser! {
|
|||||||
rule call_part(parser: &mut Parser) -> Vec<InvocationArgument> =
|
rule call_part(parser: &mut Parser) -> Vec<InvocationArgument> =
|
||||||
"(" arguments:(invocation_argument(parser) ** ",") ")" { arguments }
|
"(" arguments:(invocation_argument(parser) ** ",") ")" { arguments }
|
||||||
|
|
||||||
//TODO this shouldn't be an expression b/c type annotations disallowed here
|
|
||||||
rule invocation_argument(parser: &mut Parser) -> InvocationArgument =
|
rule invocation_argument(parser: &mut Parser) -> InvocationArgument =
|
||||||
_ "_" _ { InvocationArgument::Ignored } /
|
_ "_" _ { InvocationArgument::Ignored } /
|
||||||
_ ident:identifier() _ "=" _ expr:expression(parser) { InvocationArgument::Keyword {
|
_ ident:identifier() _ "=" _ expr:expression(parser) { InvocationArgument::Keyword {
|
||||||
|
Loading…
Reference in New Issue
Block a user