Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Verilog-Perl CPAN distribution.

Report information
The Basics
Id: 25109
Status: resolved
Priority: 0/
Queue: Verilog-Perl

People
Owner: wsnyder [...] wsnyder.org
Requestors: nodine [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.341
  • 2.371
Fixed in: 2.373



Subject: Cannot do `define error
If `define is used to define a constant "error", then the use of `error gets confused with the `error directive. It is legal in vcs and we received some licensed IP which Verilog::Preproc fails to handle because of this problem. Using perl5.8.8 Linux 2.4.21-32.0.1.EL #1 Wed May 25 16:43:57 CDT 2005 i686 athlon i386 GNU/Linux
Subject: foo.v
Download foo.v
application/tkgate 78b

Message body not shown because it is not plain text.

On Fri Feb 23 18:17:53 2007, NODINE wrote: Show quoted text
> If `define is used to define a constant "error", then the use of `error > gets confused with the `error directive. It is legal in vcs and we > received some licensed IP which Verilog::Preproc fails to handle because > of this problem.
Sorry for the long delay, for some reason RT didn't mail me your issue. You can use the vpp --pedantic switch or the Verilog::Preproc->new(pedantic=>1) flag to disable `error being special.
I have verified that it works with pedantic=>1.