Home | History | Annotate | Download | only in src

Lines Matching refs:conv

176 static const char *checkoption (lua_State *L, const char *conv, char *buff) {
180 if (*conv != '\0' && strchr(options[i], *conv) != NULL) {
181 buff[1] = *conv;
184 return conv + 1;
186 else if (*(conv + 1) != '\0' &&
187 strchr(options[i + 1], *(conv + 1)) != NULL) {
188 buff[2] = *(conv + 1); /* valid two-char conversion specifier */
190 return conv + 2;
195 lua_pushfstring(L, "invalid conversion specifier '%%%s'", conv));
196 return conv; /* to avoid warnings */