Issue #325
verilog-mode infinite loops with malformed input
| Status: | Closed | Start date: | 02/21/2011 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | Autos | |||
| Target version: | - |
Description
One of my students (Andrew Drake) just sent me this (minimized) example code, which causes verilog-mode to infinitely loop.
module aaa();
always @(a) begin
if (a) begin
/*AUTORESET*/
end
endmodule
module bbb();
always @(*) begin
end
endmodule
He mentioned that his development cycle involves typing a lot of code, and instinctively pressing his auto keyboard shortcut. He was very confused when verilog-mode hung... He notes that there is an 'end' missing above, which he believes to be related.
History
Updated by Wilson Snyder about 2 years ago
- Status changed from New to Closed
It's a mix of the missing "end" and also using the older "always (*)" instead of "always *".
Fixed in rev667, thanks for the report!
Also available in: Atom
![[logo]](/img/veripool_small.png)