2016-04-18 15:32:24 +02:00
|
|
|
---
|
2017-05-24 13:14:26 +02:00
|
|
|
src/apprentice.c | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
2016-04-18 15:32:24 +02:00
|
|
|
|
2014-06-25 11:07:53 +02:00
|
|
|
--- src/apprentice.c
|
2019-02-21 08:19:34 +01:00
|
|
|
+++ src/apprentice.c 2019-02-21 06:39:25.249091320 +0000
|
2021-04-06 09:42:26 +02:00
|
|
|
@@ -2476,6 +2476,12 @@ check_format_type(const char *ptr, int t
|
2017-05-24 13:14:26 +02:00
|
|
|
ptr++;
|
|
|
|
if (*ptr == '#')
|
|
|
|
ptr++;
|
2014-06-25 11:07:53 +02:00
|
|
|
+ if (*ptr == ' ')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == '+')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == '\'')
|
|
|
|
+ ptr++;
|
2016-04-18 15:32:24 +02:00
|
|
|
#define CHECKLEN() do { \
|
2019-02-21 08:19:34 +01:00
|
|
|
for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \
|
2017-05-24 13:14:26 +02:00
|
|
|
len = len * 10 + (*ptr - '0'); \
|