mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
xpressn.c, fetchid(), #11/15 reorder
This commit is contained in:
@@ -702,12 +702,12 @@ fetchid(SPICE_DSTRINGPTR t, const char *s, const char *s_end)
|
||||
char c;
|
||||
bool ok;
|
||||
|
||||
spice_dstring_reinit(t);
|
||||
|
||||
// facts: alfa(*s) == true && s < s_end
|
||||
c = *s++;
|
||||
|
||||
// facts: alfa(c) == true && s <= s_end
|
||||
|
||||
spice_dstring_reinit(t);
|
||||
cadd(t, upcase(c));
|
||||
|
||||
for (; s < s_end; ) {
|
||||
|
||||
Reference in New Issue
Block a user