h_vogt
4d0d0fafb9
repair broken ternary function in B-Source
failed if parameters were included in function.
fixed by finding nested parens in gettok_char()
14 years ago
h_vogt
c3141d94e0
table: prevent crashes upon wrong inputs, allow time, temper, hertz as part of device or node name (e.g. Rtime), remove some memory leaks
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
h_vogt
0207dc7239
no exchange of ' ' by { } inside .control section
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago
rlar
a9eb96e164
avoid `ambiguous else' Warning
14 years ago
h_vogt
a51953d93e
allow `time', `temper', and `hertz' in expressions of behavioral R,L,C devices
14 years ago
h_vogt
8b780fa42b
bug_fix: R,L,C instantiations, tc1, tc2, numbers followed by `:'
Ternary function was not recognized in R, C, or L lines
if no voltage or current node was part of the expression,
because then B-Source is not used.
In these cases now inp_fix_ternary_operator_str() is called explicitly.
tc1, tc2 were sometimes recognized falsely,
if part of a token e.g. tc1end.
R, C, and L models are never commented out,
because their names may be token no. 4 or 5 in an R, C, or L line,
and will not be recognized if 5.
INPevaluate() will now correctly evaluate a number if followed by ':'
(number may be part of the ternary function).
14 years ago
h_vogt
232270cbc4
bug fix, inp_bsource_compat(): `tc1=' `tc2=' `reciproctc=' `}'
don't substitute `tc1=' `tc2=' `reciproctc='
don't fail when processing tokens followed by `}' chars
14 years ago
h_vogt
0a2e031cb1
bug fix, inp_fix_subckt(): problem when parsing a .subckt line
this worked
.subckt psub a b p2 = {p1*2-1} p1 = 1
but this failed
.subckt psub a b p2 = { p1 * 2 - 1 } p1 = 1
thanks to Ivan Riis Nielsen for the report in Message
[Ngspice-devel] parsing problem (ngspice-24 tarball)
14 years ago
h_vogt
787a6a3581
inp_fix_subckt(): allow spaces in an expression which acts as a parameter
14 years ago
dwarning
70e9907415
Add reciprocal temperature behaviour for B sources
14 years ago
dwarning
d9561123f9
Add temperature coefficients for B sources
14 years ago
h_vogt
1a7fa85e3c
reading incs, libs etc.
14 years ago
rlar
f285dd0aa8
use strchr() instead of index()
14 years ago
rlar
33764b1f91
cleanup, muffle compiler warning
14 years ago
rlar
29442c91c8
cleanup, muffle compiler warning
14 years ago
h_vogt
d2f9faf66b
.lib handling
14 years ago
h_vogt
4d35b4ce7b
partially undo commit 2011-12-27 Holger Vogt
14 years ago
rlar
f1b516f1b1
cleanup, drop `s_lower'
14 years ago
rlar
62d3847c8a
cleanup scope of `y' and `z'
14 years ago
rlar
ebc01fc265
cleanup scope of `keep_char' and `s_lower', drop `s_ptr'
14 years ago
rlar
9f10f87dd9
cleanup, drop variable `found_library'
14 years ago
rlar
79436a3bb8
cleanup scope of variable `newfp'
14 years ago
rlar
aedbc6b7be
cleanup scope of variable `big_buff2'
14 years ago
rlar
01b87ac2c6
cleanup scope of variable `dir_name_flag'
14 years ago
rlar
d2f2456ce7
bug fix, copys not always valid
14 years ago
h_vogt
6382f60644
remove a bug in inc. handling
14 years ago
h_vogt
b32f935e8b
.lib error messages
14 years ago
h_vogt
9bbf9bc549
remove 'params:' from x and .subckt lines of input deck
14 years ago
h_vogt
94e9f07b90
Gxxx n1 n2 TABLE {expression} = (x0, y0) (x1, y1) (x2, y2)
14 years ago
rlar
0d7f64657c
move stringutil.h --> src/include/ngspice
14 years ago
h_vogt
33d8e0ce9d
Gxxx n1 n2 value={equation}
14 years ago
rlar
f7ea50c287
new: configure --enable-adms3
14 years ago
r29173
bab7e17a6a
added SPICEadmsdev - a super structure of SPICEdev used to build dynamic device libraries
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
03c098d4a0
bug fix, parameter processing was broken for nested .subckt
15 years ago
h_vogt
68b99db7e9
some docu added
15 years ago
h_vogt
e065e1c290
reordering, fcn prototypes
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
36f6eb6a89
bug no. 3386184
15 years ago
h_vogt
ede2daf1f6
cmutil: NaN, inpcom: nested (
15 years ago
rlar
508df68455
cleanup, reduce compiler warnings
15 years ago
rlar
1876ad1094
remove unused global artifact `dynLlen'
15 years ago
h_vogt
cc36fb8071
dirname() -> ngdirname()
15 years ago
rlar
451f88c5e1
swallow type conversion warnings
15 years ago
h_vogt
b8e7dd2af0
bug no. 3317928
15 years ago
h_vogt
1ed35b8edb
bug no. 3317928
15 years ago
h_vogt
747c606e30
remove bug in command meas, allow / and \ in Windows file paths
15 years ago