getexpress(), express some constness

This commit is contained in:
rlar 2016-05-01 16:04:24 +02:00
parent d9a2cec430
commit 57b822e0e9
1 changed files with 1 additions and 1 deletions

View File

@ -1334,7 +1334,7 @@ getword(const char *s, SPICE_DSTRINGPTR tstr_p)
static nupa_type
getexpress(char *s, SPICE_DSTRINGPTR tstr_p, int *pi)
getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, int *pi)
/* returns expression-like string until next separator
Input i=position before expr, output i=just after expr, on separator.
returns tpe=='R' if (numeric, 'S' if (string only