Lines Matching refs:opt_depth
194 int opt_depth = 1;
213 if (command[1] == '[' && opt_depth < MAX_OPT_DEPTH) {
214 old_pos[opt_depth] = result ? strlen(result) : 0;
215 okay[opt_depth] = 1;
216 opt_depth++;
224 if (command[1] == ']' && opt_depth > 1) {
225 opt_depth--;
226 if (!okay[opt_depth]) {
227 result[old_pos[opt_depth]] = '\0';
270 okay[opt_depth - 1] = 0;
279 if (opt_depth > 1) {