diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0c266dc53..4975b97fe 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1195,13 +1195,14 @@ enum { | |||
1195 | PARSE_MIN_DIE = 0x00100000, // die if < min tokens found | 1195 | PARSE_MIN_DIE = 0x00100000, // die if < min tokens found |
1196 | // keep a copy of current line | 1196 | // keep a copy of current line |
1197 | PARSE_KEEP_COPY = 0x00200000 * ENABLE_FEATURE_CROND_D, | 1197 | PARSE_KEEP_COPY = 0x00200000 * ENABLE_FEATURE_CROND_D, |
1198 | // PARSE_ESCAPE = 0x00400000, // process escape sequences in tokens | 1198 | PARSE_EOL_COMMENTS = 0x00400000, // comments are recognized even if they aren't the first char |
1199 | // NORMAL is: | 1199 | // NORMAL is: |
1200 | // * remove leading and trailing delimiters and collapse | 1200 | // * remove leading and trailing delimiters and collapse |
1201 | // multiple delimiters into one | 1201 | // multiple delimiters into one |
1202 | // * warn and continue if less than mintokens delimiters found | 1202 | // * warn and continue if less than mintokens delimiters found |
1203 | // * grab everything into last token | 1203 | // * grab everything into last token |
1204 | PARSE_NORMAL = PARSE_COLLAPSE | PARSE_TRIM | PARSE_GREEDY, | 1204 | // * comments are recognized even if they aren't the first char |
1205 | PARSE_NORMAL = PARSE_COLLAPSE | PARSE_TRIM | PARSE_GREEDY | PARSE_EOL_COMMENTS, | ||
1205 | }; | 1206 | }; |
1206 | typedef struct parser_t { | 1207 | typedef struct parser_t { |
1207 | FILE *fp; | 1208 | FILE *fp; |