rlar
2b72fbbc5e
skip_ws(), #2/2, drop macros, obj-invariant
14 years ago
rlar
9f3f794ced
skip_ws(), #1/2, use functions instead of macros
14 years ago
rlar
701942cebf
skip-ws, #6/6, unify macro versions, obj-invariant
checked for object file invariance
14 years ago
rlar
532ff76dac
skip-ws, #5/6, unify macro versions, obj not invariant
14 years ago
rlar
6a5f234519
skip-ws, #4/6, use macros, obj-invariant
checked for object file invariance
14 years ago
rlar
4bf52410fb
skip-ws, #3/6, introduce macros, obj-invariant
checked for object file invariance
14 years ago
rlar
e3b5ff94c5
skip-ws, #2/6, prepare for rewrite, obj-invariant
checked for object file invariance
14 years ago
rlar
841db86e00
skip-ws, #1/6, prepare for rewrite, obj-invariant
checked for object file invariance
14 years ago
h_vogt
996dedaa71
inpcom.c: remove cccs from F, ccvs from H source
14 years ago
h_vogt
e69f50270d
inpcom.c: correct replacement of vccs, vcvs in E, G-sources
search for 'par(' instead of 'par'
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
adc9ee09ce
api change for ngdirname() to fix a memory leak
ngdirname did `own' the returned string.
now the invoker is responsible for the returned string.
note, this is contrary to the POSIX dirname() implementation,
which *might* return pointers to statical allocated memory.
14 years ago
h_vogt
acfc7a2a27
remove memory leaks
14 years ago
h_vogt
05437b1d48
inpcom.c: safely uncomment unused subcircuits (top level only)
if they contain further nested subcircuits
14 years ago
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