Fix spacing of test macro usage
This commit is contained in:
parent
c6c315b300
commit
cf31ec7148
@ -4,6 +4,7 @@
|
||||
|
||||
* [Added] get_origin to SyntaxTree
|
||||
* [Fixed] unwrap_node import
|
||||
* [Fixed] spacing of text macro usage
|
||||
|
||||
## [v0.2.0](https://github.com/dalance/sv-parser/compare/v0.1.4...v0.2.0) - 2019-10-16
|
||||
|
||||
|
@ -281,7 +281,7 @@ pub(crate) fn default_text(s: Span) -> IResult<Span, DefaultText> {
|
||||
#[packrat_parser]
|
||||
pub(crate) fn text_macro_usage(s: Span) -> IResult<Span, TextMacroUsage> {
|
||||
let (s, a) = symbol("`")(s)?;
|
||||
let (s, b) = text_macro_identifier_exact(s)?;
|
||||
let (s, b) = text_macro_identifier(s)?;
|
||||
let (s, c) = opt(paren(list_of_actual_arguments))(s)?;
|
||||
Ok((s, TextMacroUsage { nodes: (a, b, c) }))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user