Allow Tests in function arguments (rather than just Expressions)

This fixes #39
This commit is contained in:
Daniel Watkins
2018-08-05 16:24:07 -04:00
parent 5b17ccb4f4
commit c8a0b04b2d

View File

@@ -340,7 +340,7 @@ TestList: Vec<ast::Expression> = {
};
FunctionArguments: Vec<ast::Expression> = {
<e: Comma<Expression>> => e,
<e: Comma<Test>> => e,
};
Comma<T>: Vec<T> = {