confdata.c (0a1340c185734a57fbf4775927966ad4a1347b02) | confdata.c (002d27b1b70f6d574c816ef265147704c4e951f1) |
---|---|
1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#include <sys/stat.h> 7#include <ctype.h> 8#include <fcntl.h> --- 343 unchanged lines hidden (view full) --- 352 } 353 if (!sym_is_choice(sym)) 354 continue; 355 prop = sym_get_choice_prop(sym); 356 flags = sym->flags; 357 for (e = prop->expr; e; e = e->left.expr) 358 if (e->right.sym->visible != no) 359 flags &= e->right.sym->flags; | 1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#include <sys/stat.h> 7#include <ctype.h> 8#include <fcntl.h> --- 343 unchanged lines hidden (view full) --- 352 } 353 if (!sym_is_choice(sym)) 354 continue; 355 prop = sym_get_choice_prop(sym); 356 flags = sym->flags; 357 for (e = prop->expr; e; e = e->left.expr) 358 if (e->right.sym->visible != no) 359 flags &= e->right.sym->flags; |
360 sym->flags |= flags & SYMBOL_DEF_USER; | 360 sym->flags &= flags | ~SYMBOL_DEF_USER; |
361 } 362 363 sym_change_count += conf_warnings || conf_unsaved; 364 365 return 0; 366} 367 368int conf_write(const char *name) --- 395 unchanged lines hidden --- | 361 } 362 363 sym_change_count += conf_warnings || conf_unsaved; 364 365 return 0; 366} 367 368int conf_write(const char *name) --- 395 unchanged lines hidden --- |