parent
1a0bf7f1eb
commit
0c2fe82f32
1 changed files with 2 additions and 0 deletions
|
@ -177,7 +177,9 @@ fn script(i: &str) -> IResult<&str, Function> {
|
||||||
let (i, _) = alt((tag("fn::script"), tag("fn"), tag("function")))(i)?;
|
let (i, _) = alt((tag("fn::script"), tag("fn"), tag("function")))(i)?;
|
||||||
let (i, _) = mightbespace(i)?;
|
let (i, _) = mightbespace(i)?;
|
||||||
let (i, _) = tag("(")(i)?;
|
let (i, _) = tag("(")(i)?;
|
||||||
|
let (i, _) = mightbespace(i)?;
|
||||||
let (i, a) = separated_list0(commas, value)(i)?;
|
let (i, a) = separated_list0(commas, value)(i)?;
|
||||||
|
let (i, _) = mightbespace(i)?;
|
||||||
let (i, _) = tag(")")(i)?;
|
let (i, _) = tag(")")(i)?;
|
||||||
let (i, _) = mightbespace(i)?;
|
let (i, _) = mightbespace(i)?;
|
||||||
let (i, _) = char('{')(i)?;
|
let (i, _) = char('{')(i)?;
|
||||||
|
|
Loading…
Reference in a new issue