| 221 | }; |
| 222 | |
| 223 | void compile_reg_expr(int cflags, const char *expr, regex_t *reg) |
| 224 | { |
| 225 | static const size_t ERROR_BUF_SIZE = 256; |
| 226 | char error_msg[ERROR_BUF_SIZE]; |
| 227 | int result; |
| 228 | |
| 229 | result = regcomp(reg, expr, cflags); |
| 230 | if (result != 0) { |
| 231 | regerror(result, reg, error_msg, ERROR_BUF_SIZE); |
| 232 | fprintf(stderr, "%s\n", error_msg); |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | #define SET_LEVEL(tableptr, l, TABLE, ab) \ |
| 237 | do { \ |
no test coverage detected