mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-31 17:54:22 +02:00
- all decl tokens are given an accurate starting position - key grammar productions return token positions to facilitate the above - helpers for standardized parse error generation - replaced annoying pattern-matching type argument restrictions - moving away from dumping raw decl tokens in error messages
8 lines
182 B
Systemverilog
8 lines
182 B
Systemverilog
// pattern: decl_delay_asgn_package\.sv:3:13: Parse error: unexpected timing modifier in declaration
|
|
package P;
|
|
logic x = #1 1;
|
|
endpackage
|
|
module top;
|
|
import P::*;
|
|
endmodule
|