diff options
| author | Tyge Løvset <[email protected]> | 2020-10-23 10:56:09 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-10-23 10:56:09 +0200 |
| commit | cdee6df70910b53b4a021daba334689bc3d05b4a (patch) | |
| tree | 4be35cec03fcecf20d9d745a9ef0889c4b6028db | |
| parent | ef97bc0768cfc409fc361d43a8fcfcf9feb60a9e (diff) | |
| download | STC-modified-cdee6df70910b53b4a021daba334689bc3d05b4a.tar.gz STC-modified-cdee6df70910b53b4a021daba334689bc3d05b4a.zip | |
Fix/reverted to use continue in parser.
| -rw-r--r-- | stc/cfmt.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -173,8 +173,7 @@ _cfmt_conv(int nargs, const char *fmt, ...) { ++fmt;
while (*f) *p++ = *f++;
}
- ch = *fmt;
- break;
+ continue;
case '}':
if (fmt[1] == '}') ++fmt;
break;
@@ -192,8 +191,7 @@ _cfmt_conv(int nargs, const char *fmt, ...) { if (!strchr("csdioxXufFeEaAgGnp", fmt[-1]))
while (*f) *p++ = *f++;
fmt += (*fmt == '}');
- ch = *fmt;
- break;
+ continue;
}
break;
}
|
