|
Line
Link Here
|
|
-- common/parse.c |
|
|
|
Lines 4931-4938
struct option *option;
Link Here
|
| 4931 |
do { |
4931 |
do { |
| 4932 |
if ((*fmt == 'A') || (*fmt == 'a')) |
4932 |
if ((*fmt == 'A') || (*fmt == 'a')) |
| 4933 |
break; |
4933 |
break; |
| 4934 |
if (*fmt == 'o') |
4934 |
if (*fmt == 'o') { |
|
|
4935 |
/* previous value were optional */ |
| 4936 |
fmt++; |
| 4935 |
continue; |
4937 |
continue; |
|
|
4938 |
} |
| 4939 |
if (fmt[1] == 'o') { |
| 4940 |
/* |
| 4941 |
* value for current format code is optional |
| 4942 |
* check if the next token is a semicolon; |
| 4943 |
* it is expected to be read by our caller. |
| 4944 |
*/ |
| 4945 |
token = peek_token (&val, (unsigned *)0, cfile); |
| 4946 |
if (token == SEMI) { |
| 4947 |
fmt++; |
| 4948 |
continue; |
| 4949 |
} |
| 4950 |
} |
| 4936 |
|
4951 |
|
| 4937 |
tmp = *expr; |
4952 |
tmp = *expr; |
| 4938 |
*expr = NULL; |
4953 |
*expr = NULL; |