rlar
|
ed13e8a15a
|
string.c, #2/7, drop 'register'
|
2017-04-09 15:35:32 +02:00 |
rlar
|
d48bec757c
|
string.c, #1/6, whitespace
|
2017-04-09 15:35:29 +02:00 |
rlar
|
dc6e1cb064
|
use strchr() instead of strstr()
|
2017-03-19 20:24:49 +01:00 |
rlar
|
7a42510cc0
|
const'ify some 'skip'ing functions
|
2017-03-19 20:12:25 +01:00 |
rlar
|
45ad60b738
|
rename gettok_nc() --> nexttok(), and functionalize it
|
2017-03-19 20:11:01 +01:00 |
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)).
|
2016-10-15 15:06:20 +02:00 |
h_vogt
|
33b11f9598
|
comments improved
|
2016-08-15 11:26:55 +02:00 |
rlar
|
d298d5cc2f
|
use memset() instead of deprecated bzero()
|
2016-07-30 20:58:33 +02:00 |
rlar
|
141ed61ec8
|
use memcpy() instead of deprecated bcopy()
|
2016-07-30 20:58:19 +02:00 |
rlar
|
5e04924890
|
cleanup `skip_ws()' usage
|
2016-03-22 15:26:11 +01:00 |
rlar
|
b1d8b99018
|
skip-ws, #6/6, rename to match inpcom.c
|
2016-03-22 15:26:10 +01:00 |
rlar
|
22875d056b
|
skip-ws, #5/6, use functional style
|
2016-03-22 15:26:09 +01:00 |
rlar
|
a86f2068c8
|
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
|
2016-03-22 15:26:06 +01:00 |
rlar
|
6d1171ad6f
|
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
|
2016-03-22 15:26:05 +01:00 |
rlar
|
726d0be34c
|
use char variants of the <ctype.h> toxxxx() family
|
2016-03-09 20:24:36 +01:00 |
rlar
|
71a7c3459b
|
use char variants of the <ctype.h> isxxxx() family
|
2016-03-09 20:24:36 +01:00 |
rlar
|
d37f18d777
|
misc/string.c, sprinkle some const'ness
|
2015-12-22 16:47:42 +01:00 |
rlar
|
192eeadb0b
|
remove crufty comments which where used to support broken text editors
|
2015-09-24 18:23:54 +02:00 |
rlar
|
7b0275ebf7
|
string.c, swallow "warning: value computed is not used"
|
2015-01-04 20:31:45 +01:00 |
rlar
|
7524ad2ee6
|
src/misc/string.c, rewrite using `copy_substring()'
|
2014-12-01 20:18:59 +01:00 |
rlar
|
f5d05af51d
|
inpgmod.c, INPgetModBin(), use model_name_match()
|
2014-08-09 18:17:51 +02:00 |
rlar
|
b663731379
|
rewrite model_bin_match(), rename --> model_name_match()
|
2014-08-09 18:17:34 +02:00 |
rlar
|
7f7453a227
|
inp_do_macro_param_replace(), fix several bugs concerning .func processing
|
2014-07-08 18:19:26 +02:00 |
rlar
|
80dd41451f
|
introduce tvprintf()
|
2014-04-12 21:01:36 +02:00 |
rlar
|
a4780f8e34
|
string.c, introduce tprintf()
|
2014-04-05 18:44:27 +02:00 |
rlar
|
a94170d2ab
|
gettok_node(), use copy_substring()
|
2013-12-31 16:25:50 +01:00 |
Krzysztof Blaszkowski
|
493aaba468
|
gettok_node(), avoid segfault when *s == NULL
|
2013-12-31 16:25:49 +01:00 |
rlar
|
d50ffdd987
|
swallow warnings
|
2012-08-06 19:50:23 +02:00 |
rlar
|
608e0473d3
|
copy(), allow NULL argument
|
2012-07-28 19:53:55 +02:00 |
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()
|
2012-07-21 22:23:49 +02:00 |
h_vogt
|
87c80b842c
|
gettok_char(), return(NULL) if substring not found
|
2012-07-19 23:16:15 +02:00 |
h_vogt
|
94e9f07b90
|
Gxxx n1 n2 TABLE {expression} = (x0, y0) (x1, y1) (x2, y2)
|
2011-12-21 21:33:47 +00:00 |
rlar
|
0d7f64657c
|
move stringutil.h --> src/include/ngspice
|
2011-12-17 17:16:29 +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
|
e6c30efe46
|
Nr 4/5 (x = ...) != NULL , swallow warnings
|
2010-11-19 18:52:44 +00:00 |
rlar
|
6256f69499
|
Nr 2/5 (x = ...) != '\0' , swallow warnings
|
2010-11-19 18:49:05 +00:00 |
rlar
|
1779d62558
|
add some `int' and `size_t' casts
|
2010-11-06 20:14:21 +00:00 |
rlar
|
2cdd98715a
|
minor modification of strtolower(), and implement strtoupper()
|
2010-11-04 20:01:46 +00:00 |
rlar
|
7b3960506f
|
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
|
2010-10-28 19:32:34 +00:00 |
rlar
|
50ad9c548e
|
chomp some warnings
|
2010-08-15 18:26:56 +00:00 |
rlar
|
4cdd842cd8
|
muffle compiler warnings
|
2010-07-24 18:51:06 +00:00 |
h_vogt
|
fe2d079b31
|
par('expression')
|
2010-07-10 11:27:57 +00:00 |
rlar
|
3369d860b4
|
cast the return values of malloc() function calls
|
2010-07-01 19:52:23 +00:00 |
dwarning
|
5fcf9c2afe
|
ternary operation in control blocks
|
2010-04-11 08:49:05 +00:00 |
dwarning
|
112261297d
|
Bill Swartz patch
|
2010-03-25 22:44:37 +00:00 |
h_vogt
|
82d46a68c8
|
'^' added to is_arith_char() in string.c
|
2009-12-12 17:40:20 +00:00 |
dwarning
|
586af63f36
|
changed the declarator to new format
|
2009-11-26 20:04:09 +00:00 |
dwarning
|
9b90e03e90
|
stringutil.h: separate bcopy and bzero providing
|
2009-10-18 13:46:09 +00:00 |
dwarning
|
ded9f403d7
|
don't need string.h - comes from ngspice.h
|
2009-04-26 16:47:50 +00:00 |