Parser reports incorrect filename / linenumber when parsing SystemVerilog class
I'm using a basic subclass of SigParser which reports when certain items are defined I noticed that the "filename" and "lineno" methods can report incorrect information when a class is encountered.Attached testcase shows the problem. The SystemVerilog file contains three classes:
- I2CTiming which reports the correct line-number but wrong file (Perl_Verilog::Std_module).
- I2CTiming2 which is a virtual class (and reports correctly).
- I2CTiming3 which reports the same information as I2CTiming2.
(Note: I'm still on version 3.418, but I don't think anything related to this has changed since).
Also available in: Atom