Support property nodes with colons in their key.
This commit is contained in:
parent
c4d7e646fc
commit
49afcf0db6
@ -0,0 +1,6 @@
|
|||||||
|
* Overwrite
|
||||||
|
:PROPERTIES:
|
||||||
|
:header-args: :var foo="lorem"
|
||||||
|
:header-args:emacs-lisp: :var bar="ipsum"
|
||||||
|
:header-args:emacs-lisp+: :results silent :var baz=7
|
||||||
|
:END:
|
@ -169,5 +169,8 @@ fn node_property_name_end<'b, 'g, 'r, 's>(
|
|||||||
_context: RefContext<'b, 'g, 'r, 's>,
|
_context: RefContext<'b, 'g, 'r, 's>,
|
||||||
input: OrgSource<'s>,
|
input: OrgSource<'s>,
|
||||||
) -> Res<OrgSource<'s>, OrgSource<'s>> {
|
) -> Res<OrgSource<'s>, OrgSource<'s>> {
|
||||||
alt((tag("+:"), tag(":")))(input)
|
recognize(tuple((
|
||||||
|
alt((tag("+:"), tag(":"))),
|
||||||
|
alt((space1, line_ending, eof)),
|
||||||
|
)))(input)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user