Re: [ng-spice] Another patch for rework-11


To ng-spice@ieee.ing.uniroma1.it
From "Arno W. Peters" <a.w.peters@ieee.org>
Date Fri, 2 Jun 2000 21:47:25 +0200
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <39341E3C.576DFB11@gmx.de >; from ManfredMetzger@gmx.de on Tue, May 30, 2000 at 10:02:04PM +0200
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
References <39341E3C.576DFB11@gmx.de >
Reply-To ng-spice@ieee.ing.uniroma1.it
User-Agent Mutt/1.2i

On Tue, May 30, 2000 at 10:02:04PM +0200, Manfred Metzger wrote:
> 
> The following patch for src/circuit/inp2dot.c corrects this.
> I don't like this patch very much, but at least it works (I hope).

Ok.  This was a big thinko on my part.  The line variable that holds
the current line being parsed got modified in the INP2dot() function.
In the refactoring I did, I reinitialized the line variable again to
the beginning of the current line.

The following patch adds a line variable to every function call I
refactored.  It is the (IMHO) the correct fix.

Manni, thank you for your patch, it located the problem for me and it
helped me to find a better fix for it.  The patch is already in the
CVS repository.

Happy hacking,
-- 
Arno

PGP signature


Partial thread listing: