Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot do `define error #130

Closed
veripoolbot opened this issue Feb 23, 2007 · 0 comments
Closed

Cannot do `define error #130

veripoolbot opened this issue Feb 23, 2007 · 0 comments
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Mark Nodine
Original Redmine Issue: 130 from https://www.veripool.org
Original Date: 2007-02-23
Original Assignee: Wilson Snyder (@wsnyder)


This bug was cloned from Perl-RT, rt25109.

Email addresses have have been truncated.

Id: 	25109
Status: 	resolved
Left: 	0 min
Queue: 	Verilog-Perl
Owner: 	WSNYDER <wsnyder@>
Requestors: 	NODINE <nodine@>

Severity: 	Normal
Broken in:

     * 2.341
     * 2.371

Fixed in: 	2.373
X Attachments
foo.v

     * Fri Feb 23 18:17:53 2007 (78b) by NODINE

Fri Feb 23 18:17:53 2007 NODINE - Ticket created

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

[application/tkgate 78b]
Message body not shown because it is too large or is not plain text.

Thu Mar 29 16:03:44 2007 WSNYDER - Status changed from 'new' to 'resolved'

Fri Mar 30 10:52:37 2007 WSNYDER - Correspondence added

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.

Fri Mar 30 10:52:44 2007 RT_System - Status changed from 'resolved' to 'open'

Fri Mar 30 10:52:48 2007 WSNYDER - Given to WSNYDER

Fri May 04 17:06:41 2007 NODINE - Status changed from 'open' to 'resolved'

Fri May 04 17:06:42 2007 NODINE - Fixed in 2.373 added

Fri May 04 17:08:07 2007 NODINE - Correspondence added

I have verified that it works with pedantic=>1.

Fri May 04 17:08:08 2007 RT_System - Status changed from 'resolved' to 'open'

Mon May 07 11:20:39 2007 WSNYDER - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants