Issue #404
space in always @(* ) causes internal error
| Status: | Closed | Start date: | 10/25/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | Parser | |||
| Target version: | - |
Description
Verilator fails with a flex scanner internal error if there is a space before the closing parenthesis in always (*). Attached example program @always_at.v.
// reproducer for the always @(*) bug.
// invocation: verilator -cc always_at.v
module always_at(input wire foo, output wire bar);
always @(* )
bar = foo;
endmodule // always_at
Output from running Verilator
$ verilator -cc always_at.v %Error: always_at.v:9: EOF in (* fatal flex scanner internal error--end of buffer missed %Error: Command Failed _instdir_/verilator/verilator_bin -cc always_at.v
History
Updated by Wilson Snyder over 1 year ago
- Status changed from New to Resolved
- Assignee set to Wilson Snyder
You were beaten in reporting this by a few hours, see bug403.
Fixed in git towards 3.824.
Updated by Wilson Snyder over 1 year ago
- Status changed from Resolved to Closed
In 3.824, just released.
Also available in: Atom
![[logo]](/img/veripool_small.png)