65 Commits (61039c273669fd3ca32594a2a62eebbec2264b8a)

Author SHA1 Message Date
Holger Vogt 61039c2736 add a new function gettok_model to consider {...} expressions 7 years ago
rlar 900bed550d string.c, #6/6, use skip_ws() and skip_back_ws() 9 years ago
rlar 0da47c644b string.c, #5/6, cleanup 9 years ago
rlar 5b23b54769 string.c, #4/6, cleanup token fetching 9 years ago
rlar c6a3438408 string.c, #3/6, cleanup 'return' 9 years ago
rlar ed13e8a15a string.c, #2/7, drop 'register' 9 years ago
rlar d48bec757c string.c, #1/6, whitespace 9 years ago
rlar dc6e1cb064 use strchr() instead of strstr() 9 years ago
rlar 7a42510cc0 const'ify some 'skip'ing functions 10 years ago
rlar 45ad60b738 rename gettok_nc() --> nexttok(), and functionalize it 9 years ago
h_vogt 6a0a6071a0 gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)). 10 years ago
h_vogt 33b11f9598 comments improved 10 years ago
rlar d298d5cc2f use memset() instead of deprecated bzero() 10 years ago
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 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 a86f2068c8 skip-ws, #3/6, use TEMPORARY macros, obj-invariant 10 years ago
rlar 6d1171ad6f skip-ws, #2/6, introduce "ngspice/stringskip.h" 10 years ago
rlar 726d0be34c use char variants of the <ctype.h> toxxxx() family 10 years ago
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 10 years ago
rlar d37f18d777 misc/string.c, sprinkle some const'ness 10 years ago
rlar 192eeadb0b remove crufty comments which where used to support broken text editors 11 years ago
rlar 7b0275ebf7 string.c, swallow "warning: value computed is not used" 11 years ago
rlar 7524ad2ee6 src/misc/string.c, rewrite using `copy_substring()' 12 years ago
rlar f5d05af51d inpgmod.c, INPgetModBin(), use model_name_match() 12 years ago
rlar b663731379 rewrite model_bin_match(), rename --> model_name_match() 12 years ago
rlar 7f7453a227 inp_do_macro_param_replace(), fix several bugs concerning .func processing 12 years ago
rlar 80dd41451f introduce tvprintf() 12 years ago
rlar a4780f8e34 string.c, introduce tprintf() 12 years ago
rlar a94170d2ab gettok_node(), use copy_substring() 13 years ago
Krzysztof Blaszkowski 493aaba468 gettok_node(), avoid segfault when *s == NULL 13 years ago
rlar d50ffdd987 swallow warnings 14 years ago
rlar 608e0473d3 copy(), allow NULL argument 14 years ago
h_vogt 4d0d0fafb9 repair broken ternary function in B-Source 14 years ago
h_vogt 87c80b842c gettok_char(), return(NULL) if substring not found 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
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 e6c30efe46 Nr 4/5 (x = ...) != NULL , swallow warnings 16 years ago
rlar 6256f69499 Nr 2/5 (x = ...) != '\0' , swallow warnings 16 years ago
rlar 1779d62558 add some `int' and `size_t' casts 16 years ago
rlar 2cdd98715a minor modification of strtolower(), and implement strtoupper() 16 years ago
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 16 years ago
rlar 50ad9c548e chomp some warnings 16 years ago
rlar 4cdd842cd8 muffle compiler warnings 16 years ago
h_vogt fe2d079b31 par('expression') 16 years ago
rlar 3369d860b4 cast the return values of malloc() function calls 16 years ago
dwarning 5fcf9c2afe ternary operation in control blocks 16 years ago