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