Lines Matching refs:prop

28 static void prop_warn(struct property *prop, const char *fmt, ...)  in prop_warn()  argument
32 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn()
124 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() local
126 prop->menu = current_entry; in menu_add_prop()
127 prop->text = prompt; in menu_add_prop()
128 prop->expr = expr; in menu_add_prop()
129 prop->visible.expr = menu_check_dep(dep); in menu_add_prop()
134 current_entry->prompt = prop; in menu_add_prop()
137 return prop; in menu_add_prop()
163 struct property *prop; in sym_check_prop() local
165 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_prop()
166 switch (prop->type) { in sym_check_prop()
169 prop->expr->type != E_SYMBOL) in sym_check_prop()
170 prop_warn(prop, in sym_check_prop()
175 sym2 = prop_get_symbol(prop); in sym_check_prop()
177 prop_warn(prop, in sym_check_prop()
181 prop_warn(prop, in sym_check_prop()
186 prop_warn(prop, in sym_check_prop()
193 prop_warn(prop, "range is only allowed " in sym_check_prop()
195 if (!menu_range_valid_sym(sym, prop->expr->left.sym) || in sym_check_prop()
196 !menu_range_valid_sym(sym, prop->expr->right.sym)) in sym_check_prop()
197 prop_warn(prop, "range is invalid"); in sym_check_prop()
209 struct property *prop; in menu_finalize() local
237 prop = menu->sym->prop; in menu_finalize()
239 prop = menu->prompt; in menu_finalize()
240 for (; prop; prop = prop->next) { in menu_finalize()
241 if (prop->menu != menu) in menu_finalize()
243 dep = expr_transform(prop->visible.expr); in menu_finalize()
248 prop->visible.expr = dep; in menu_finalize()
249 if (prop->type == P_SELECT) { in menu_finalize()
250 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
295 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize()
296 if (prop->type == P_PROMPT && prop->menu != menu) { in menu_finalize()
297 prop_warn(prop, "choice values " in menu_finalize()
301 if (prop->type == P_DEFAULT) in menu_finalize()
302 prop_warn(prop, "defaults for choice " in menu_finalize()
308 prop = sym_get_choice_prop(sym); in menu_finalize()
309 for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) in menu_finalize()