version 1.1.1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2014/06/15 20:20:06
|
Line 17
|
Line 17
|
static void configparser_push(config_t *ctx, data_config *dc, int isnew) { |
static void configparser_push(config_t *ctx, data_config *dc, int isnew) { |
if (isnew) { |
if (isnew) { |
dc->context_ndx = ctx->all_configs->used; |
dc->context_ndx = ctx->all_configs->used; |
assert(dc->context_ndx > ctx->current->context_ndx); | force_assert(dc->context_ndx > ctx->current->context_ndx); |
array_insert_unique(ctx->all_configs, (data_unset *)dc); |
array_insert_unique(ctx->all_configs, (data_unset *)dc); |
dc->parent = ctx->current; |
dc->parent = ctx->current; |
array_insert_unique(dc->parent->childs, (data_unset *)dc); |
array_insert_unique(dc->parent->childs, (data_unset *)dc); |
Line 99 data_unset *configparser_merge_data(data_unset *op1, c
|
Line 99 data_unset *configparser_merge_data(data_unset *op1, c
|
} |
} |
break; |
break; |
default: |
default: |
assert(0); | force_assert(0); |
break; |
break; |
} |
} |
} |
} |
Line 1094 static void yy_reduce(
|
Line 1094 static void yy_reduce(
|
{ |
{ |
data_config *dc; |
data_config *dc; |
dc = (data_config *)array_get_element(ctx->srv->config_context, "global"); |
dc = (data_config *)array_get_element(ctx->srv->config_context, "global"); |
assert(dc); | force_assert(dc); |
configparser_push(ctx, dc, 0); |
configparser_push(ctx, dc, 0); |
} |
} |
#line 1100 "configparser.c" |
#line 1100 "configparser.c" |
Line 1108 static void yy_reduce(
|
Line 1108 static void yy_reduce(
|
cur = ctx->current; |
cur = ctx->current; |
configparser_pop(ctx); |
configparser_pop(ctx); |
|
|
assert(cur && ctx->current); | force_assert(cur && ctx->current); |
|
|
yygotominor.yy78 = cur; |
yygotominor.yy78 = cur; |
} |
} |
Line 1151 static void yy_reduce(
|
Line 1151 static void yy_reduce(
|
cur = ctx->current; |
cur = ctx->current; |
configparser_pop(ctx); |
configparser_pop(ctx); |
|
|
assert(cur && ctx->current); | force_assert(cur && ctx->current); |
|
|
yygotominor.yy78 = cur; |
yygotominor.yy78 = cur; |
} |
} |
Line 1186 static void yy_reduce(
|
Line 1186 static void yy_reduce(
|
op = buffer_init_string("=~"); |
op = buffer_init_string("=~"); |
break; |
break; |
default: |
default: |
assert(0); | force_assert(0); |
return; |
return; |
} |
} |
|
|