File tree 3 files changed +31
-1
lines changed
3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ // bug #1829
2
+ module dut (/*autoarg*/ );
3
+ input clk;
4
+ input rst_n;
5
+ output logic d;
6
+
7
+ always @(* )
8
+ begin
9
+ d = 1'b0 ;
10
+ end
11
+
12
+ endmodule
Original file line number Diff line number Diff line change
1
+ // bug #1829
2
+ module dut (/*autoarg*/
3
+ // Outputs
4
+ d,
5
+ // Inputs
6
+ clk, rst_n
7
+ );
8
+ input clk;
9
+ input rst_n;
10
+ output logic d;
11
+
12
+ always @(* )
13
+ begin
14
+ d = 1'b0 ;
15
+ end
16
+
17
+ endmodule
Original file line number Diff line number Diff line change @@ -9323,7 +9323,8 @@ Return an array of [outputs inouts inputs wire reg assign const gparam intf]."
9323
9323
((looking-at "(\\*")
9324
9324
;; To advance past either "(*)" or "(* ... *)" don't forward past first *
9325
9325
(forward-char 1)
9326
- (or (search-forward "*)")
9326
+ (or (looking-at "\\*\\s-*)") ; (* )
9327
+ (search-forward "*)") ; end attribute
9327
9328
(error "%s: Unmatched (* *), at char %d" (verilog-point-text) (point))))
9328
9329
((eq ?\" (following-char))
9329
9330
(or (re-search-forward "[^\\]\"" nil t) ; don't forward-char first, since we look for a non backslash first
You can’t perform that action at this time.
0 commit comments