forked from Rust-related/RustPython
Allow Tests in function arguments (rather than just Expressions)
This fixes #39
This commit is contained in:
@@ -340,7 +340,7 @@ TestList: Vec<ast::Expression> = {
|
||||
};
|
||||
|
||||
FunctionArguments: Vec<ast::Expression> = {
|
||||
<e: Comma<Expression>> => e,
|
||||
<e: Comma<Test>> => e,
|
||||
};
|
||||
|
||||
Comma<T>: Vec<T> = {
|
||||
|
||||
Reference in New Issue
Block a user