Re: [ng-spice] Another patch for rework-11
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: