| 115 | } |
| 116 | |
| 117 | static int match_funcname(xdemitconf_t *xecfg, const char *bol, const char *eol) |
| 118 | { |
| 119 | if (xecfg) { |
| 120 | char buf[1]; |
| 121 | return xecfg->find_func(bol, eol - bol, buf, 1, |
| 122 | xecfg->find_func_priv) >= 0; |
| 123 | } |
| 124 | |
| 125 | if (bol == eol) |
| 126 | return 0; |
| 127 | if (isalpha(*bol) || *bol == '_' || *bol == '$') |
| 128 | return 1; |
| 129 | return 0; |
| 130 | } |
| 131 | |
| 132 | static const char *find_funcname_matching_regexp(xdemitconf_t *xecfg, const char *start, |
| 133 | regex_t *regexp) |
no outgoing calls
no test coverage detected