Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  IPC::Locker
  Parallel::Forker
  Voneline
General Info
  Papers

Issue #1162

Parser reports incorrect filename / linenumber when parsing SystemVerilog class

Added by Dave Storrar over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
% Done:

0%


Description

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:
  1. I2CTiming which reports the correct line-number but wrong file (Perl_Verilog::Std_module).
  2. I2CTiming2 which is a virtual class (and reports correctly).
  3. 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).

class_ex.tgz (726 Bytes) Dave Storrar, 05/16/2017 01:46 PM

History

#1 Updated by Wilson Snyder over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Wilson Snyder

Thanks for the example.

Fixed in git towards 3.435. I'll hold releasing this a bit in case you find more problems.

#2 Updated by Wilson Snyder over 2 years ago

  • Status changed from Resolved to Closed

In 3.442.

Also available in: Atom