Fix macro arguments spacing
This commit is contained in:
parent
44b2422433
commit
56a13e45c4
@ -2,6 +2,7 @@
|
||||
|
||||
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.4.19...Unreleased) - ReleaseDate
|
||||
|
||||
* [Fixed] macro arguments spacing
|
||||
* [Added] `` `__LINE__`` and `` `__FILE__`` are preprocessed
|
||||
* [Fixed] parser priority about specify
|
||||
* [Fixed] escaped_ideitifier including `` ` ``
|
||||
|
@ -529,7 +529,7 @@ fn resolve_text_macro_usage<T: AsRef<Path>, U: AsRef<Path>>(
|
||||
for arg in args.contents() {
|
||||
if let Some(arg) = arg {
|
||||
let (ref arg,) = arg.nodes;
|
||||
let arg = arg.str(&s);
|
||||
let arg = arg.str(&s).trim_end();
|
||||
actual_args.push(Some(arg));
|
||||
} else {
|
||||
actual_args.push(None);
|
||||
@ -723,8 +723,7 @@ module a ();
|
||||
|
||||
always @(posedge clk) begin
|
||||
if (!(!(a[i].b && c[i]))) begin
|
||||
$display ("xxx(()[]]{}}}", a[i].b, c[i])
|
||||
;
|
||||
$display ("xxx(()[]]{}}}", a[i].b, c[i]);
|
||||
end
|
||||
end
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user