rlar
045de93d3b
frontend/define.c, cleanup `prtree1()'
2015-11-13 20:17:13 +01:00
rlar
83938330eb
frontend/define.c, cleanup `prdefs()'
2015-11-13 20:17:13 +01:00
rlar
e7c7e7052b
frontend/define.c, cleanup `prtree()'
2015-11-13 20:17:12 +01:00
rlar
15f0f5f22f
frontend/define.c, com_undefine(), rename `ludf' --> `prev_udf'
2015-11-13 20:17:11 +01:00
rlar
3be8335224
frontend/define.c, abstraction, use `strchr()'
2015-11-13 19:51:50 +01:00
rlar
501c0238d7
frontend/define.c, cleanup
2015-11-13 19:50:56 +01:00
rlar
29dde7206a
frontend/parse.c, introduce `alloc_pnode()'
2015-11-12 18:32:39 +01:00
rlar
381a690cd8
frontend/define.c, ntharg(), bug fix, fix check for end of PT_OP_COMMA args list
...
ancient bug, yet not much of a consequence because there was already
another check for correct arity of a function application.
("define"'ed function in the .control section)
2015-11-10 19:44:54 +01:00
rlar
97c1ec733a
frontend/define.c, ntharg(), #15/15 whitespace and indentation
2015-11-07 20:26:54 +01:00
rlar
a7f776872b
frontend/define.c, ntharg(), #14/15 rewrite for(;;) loop
2015-11-07 20:26:45 +01:00
rlar
101b5ada81
frontend/define.c, ntharg(), #13/15 delay `num--' a bit
2015-11-07 20:26:36 +01:00
rlar
06b6237199
frontend/define.c, ntharg(), #12/15 delay `num--' a bit
2015-11-07 20:26:28 +01:00
rlar
bd40bbd437
frontend/define.c, ntharg(), #11/15 `args' can't be NULL here
2015-11-07 20:26:18 +01:00
rlar
cd0941367a
frontend/define.c, ntharg(), #10/15 can move this up
2015-11-07 20:26:09 +01:00
rlar
3b6b71f680
frontend/define.c, ntharg(), #9/15 can move this up
2015-11-07 20:25:47 +01:00
rlar
bc793fbf27
frontend/define.c, ntharg(), #8/15 this `if' condition can't be true
2015-11-07 20:25:27 +01:00
rlar
e93327fdb7
frontend/define.c, ntharg(), #7/15 substitute tail of ntharg() for `break'
2015-11-07 20:25:20 +01:00
rlar
e98bfc720f
frontend/define.c, ntharg(), #6/15 rewrite while() --> for(;;)
2015-11-07 20:25:12 +01:00
rlar
67301b25fe
frontend/define.c, ntharg(), #5/15 make use of `fact: num >= 1'
2015-11-07 20:25:04 +01:00
rlar
f538b4dba3
frontend/define.c, ntharg(), #4/15 express some facts
2015-11-07 20:24:56 +01:00
rlar
71908ef194
frontend/define.c, ntharg(), #3/15 drop redundant `if', already guarded by `while'
2015-11-07 20:24:48 +01:00
rlar
8ac0329bd9
frontend/define.c, ntharg(), #2/15 minor cleanup
2015-11-07 20:24:39 +01:00
rlar
f91f8c2a09
frontend/define.c, ntharg(), #1/15 drop `struct pnode *ptry', use `args' instead
2015-11-07 20:24:26 +01:00
rlar
600d289000
frontend/define.c, ntharg(), avoid segfault when out of `args'
...
return NULL instead
2015-11-07 20:15:53 +01:00
rlar
a4c7dff570
frontend/define.c, rewrite `struct udfunc' insertion
2015-10-04 15:34:14 +02:00
rlar
192eeadb0b
remove crufty comments which where used to support broken text editors
2015-09-24 18:23:54 +02:00
rlar
44c1380281
variable rename, unify the source
...
checked for object file invariance
2012-09-30 23:26:26 +02:00
rlar
44e7f7f7bd
bug fix, dvec in a `define' can't be member of any plot
2012-09-27 19:46:06 +02:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
198604f605
define.c, plug a memleak in com_undefine()
2012-09-13 21:52:03 +02:00
rlar
6a3c20706a
define.c, cleanup
2012-09-13 21:21:46 +02:00
rlar
b68259ff2d
define.c, cleanup
2012-09-13 21:21:08 +02:00
rlar
1fbc4d62cc
define.c, whitespace cleanup
2012-09-13 21:18:02 +02:00
rlar
38ce3b6142
define.c, bug fix, when undefining more than one udfunc
2012-09-13 21:05:56 +02:00
rlar
f285dd0aa8
use strchr() instead of index()
2012-02-06 17:46:33 +00:00
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
2011-12-13 19:57:45 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
rlar
23056573d8
code cleanup, drop NULL pointer casts
2011-04-28 15:59:36 +00:00
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
2010-11-19 18:54:40 +00:00
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
2010-11-02 17:07:57 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
2010-10-24 12:45:05 +00:00
rlar
882b3b4155
add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...)
2010-10-09 14:26:41 +00:00
rlar
4cdd842cd8
muffle compiler warnings
2010-07-24 18:51:06 +00:00
rlar
ff459393d0
`const' qualifier for char* arguments of vec_get() and ft_substdef()
2010-07-16 17:00:45 +00:00
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
2010-06-27 17:22:11 +00:00
sjborley
cbdd811aa5
Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes.
2005-05-26 19:29:52 +00:00
pnenzi
a6517ea488
Closed memory leak.
2003-08-23 22:27:36 +00:00
pnenzi
6f55975cc0
Code clean up (removed some warning)
2001-02-09 13:27:21 +00:00