Parse named function definitions
This commit is contained in:
parent
ff3edf17e5
commit
0099277644
3 changed files with 95 additions and 9 deletions
|
|
@ -55,3 +55,7 @@ pub fn ident() -> BoxedParser<'static, char, Ident, Error> {
|
|||
})
|
||||
.boxed()
|
||||
}
|
||||
|
||||
pub fn local() -> BoxedParser<'static, char, Option<Space>, Error> {
|
||||
text::keyword("local").ignore_then(space()).or_not().boxed()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue