Holger Vogt
4e6af5a55f
Allow KiCad special token V(/xyz) by quoting
2 years ago
Holger Vogt
95754d29c1
Introduce variacle 'plainlet' which allow simple copying
of vectors, even if the right hand side vector name
contain forbidden characters (like math characters).
set plainlet
let newvec = v(/out)
unset plainlet
5 years ago
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
6 years ago
Holger Vogt
9af5e20eaf
formatting
6 years ago
Jim Monte
b9d45349d5
Added featurest to com_let to allow default low and high indices and to allow the last dimension to default to its full range
6 years ago
Jim Monte
92065ea41b
fixed singluar/plural agreement in an error message generated by the let command
6 years ago
Jim Monte
2f8b7ab062
Minor fix to end-of-index processing of let command
6 years ago
Jim Monte
0c741bbde2
Rework of let command. Added support for slices as described in feature #69 and fixed several crashes and issues described in bugs #443 , #444 , #446 , #447 , and #448 .
6 years ago
Holger Vogt
b9901a2569
[PATCH 47] Refactored ft_getnames() and used the new function in
com_let().
7 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
059f2b6c0d
fix garbage collection of vectors returned by ft_evaluate()
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
8a4a37b5bb
dvec abstraction, #4/11, emphasise `ZERO(dvec)' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
rlar
cab63eedd4
frontend/com_let.c, bug fix, "#302 Integer in Let Statement"
let 2foo = someexpression
was silently accepted, even though 2foo is an illegal identifier.
(first letter is a digit)
This was especially irritating, since
print 2foo
has a legal meaning, 2 femto oO, which is 2e-15
(whatever Unit an oO might be)
Reported by Justin Fisher in
http://sourceforge.net/p/ngspice/bugs/302/
11 years ago
rlar
7bc6374138
cleanup, use '\0' instead of 0 in char context
11 years ago
rlar
26bbb39a68
variable rename, unify the source
checked for object file invariance
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
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
3ece54fb94
bug fix, avoid segfault when indexing a vector with a nonexistant variable
15 years ago
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
16 years ago
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
16 years ago
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
16 years ago
rlar
4420a3ecdd
add prototypes, remove some NULL casts
16 years ago
pnenzi
58347d932e
Fixed a bug in let command for expressions like let vec[2]=5.0
19 years ago
pnenzi
531fb3575a
Applied Vera Patch to correct bugs in shell code and re-enabling interpolate command.
23 years ago
pnenzi
dd8929457e
Code cleaning.
23 years ago
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
23 years ago
arno
6886b8793b
* configure.in src/main.c src/frontend/com_let.c: Updates.
26 years ago
arno
8696a52e89
* src/Makefile.am src/main.c src/sconvert.c
26 years ago