ports/cad/spice/files/patch-src_lib_fte_subckt_c
Philip M. Gollucci 0ec10e2e24 -Clean some warnings by using string.h instead of strings.h
Applied several patches from this website:
http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/secD.html
specifically fixes for:
- Where command causes crashes
- Recognition of scale factors in arbitrary source
- Current Controlled Switch in subckt, parsing error
- Noise analysis bug
- Save segmentation faults
- BSIM1 model xpart parameter random
- Tran analysis default TSTEP

PR:             ports/143727
Submitted by:   "Pedro F. Giffuni" <giffunip@tutopia.com>
2010-02-11 19:40:33 +00:00

22 lines
599 B
Text

--- src/lib/fte/subckt.c.orig 2010-02-09 15:25:54.000000000 +0000
+++ src/lib/fte/subckt.c 2010-02-09 15:57:52.000000000 +0000
@@ -648,6 +648,9 @@
case 'f':
case 'H':
case 'h':
+ /* 2 lines here to fix w bug, NCF 1/31/95 */
+ case 'W':
+ case 'w':
return (1);
default:
@@ -944,7 +947,8 @@
case 't': return (4);
case 'u': return (3);
case 'v': return (2);
- case 'w': return (3);
+ /* change 3 to 2 here to fix w bug, NCF 1/31/95 */
+ case 'w': return (2);
case 'z': return (3);
default: