This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Can't see what's wrong with my simulator semantics code....
At 12:41 PM -0700 6/30/01, Geoff Keating wrote:
> > Date: Sat, 30 Jun 2001 15:09:59 -0400
>> From: Alan Lehotsky <apl@alum.mit.edu>
>> Cc: apl@alum.mit.edu (Alan Lehotsky), cgen@sourceware.cygnus.com
>
>> cgen is really "cool" when you don't have to fight the error messages.
>
>Yeah. Line numbers would be a Really Useful Feature.
>
>--
>- Geoffrey Keating <geoffk@geoffk.org>
You do know about adding "-v" to the CGENFLAGS when you do a make of the
simulator. It tells you some stuff that helps isolate where the errors are.
Also, the old tried and true technique of inserting KNOWN errors to see if the
parser finds the old error before your new error helps to isolate problems.....
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/users/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation