107 ODLcurrent_aggregate =
NewAggregate (ODLcurrent_aggregate, kind,
126 ODLcurrent_aggregate -> appl1 =
yylineno;
165 if (ODLcurrent_aggregate != ODLroot_node)
167 if (ODLcurrent_aggregate->
kind == kind)
178 "END_%s = %s doesn't match %s = %s",
182 ODLcurrent_aggregate->
name);
200 "Found END_%s when expecting END_%s - Ignored",
202 (ODLcurrent_aggregate->
kind==
KA_OBJECT) ?
"OBJECT" :
"GROUP");
211 "Encountered an extra END_%s - Ignored",
265 "A parameter named %s already exists for %s %s.",
267 (ODLcurrent_aggregate->
kind==
KA_OBJECT) ?
"object" :
"group",
268 ODLcurrent_aggregate->
name);
274 ODLcurrent_parameter =
NewParameter (ODLcurrent_aggregate, kind,
293 ODLcurrent_parameter -> appl1 =
yylineno;
358 ODLcurrent_value =
NewValue (ODLcurrent_parameter, item);
434 if (new_units == NULL)
454 switch (ODLcurrent_value->
item.
type)
459 if (current_units != NULL)
472 if (current_units != NULL)
543 if (exponent_sign < 0)
558 current_units = NULL;
561 if (current_units != NULL)
602 ODLcurrent_parameter->
rows++;
603 if (ODLcurrent_parameter->
rows == 1)
607 else if (ODLcurrent_parameter->
rows*ODLcurrent_parameter->
columns !=
611 "Row %d of sequence has different number of columns than first row",
612 ODLcurrent_parameter->
rows);
681 while (ODLcurrent_aggregate != ODLroot_node)
686 "Missing END_%s for %s %s.",
687 (ODLcurrent_aggregate->
kind==
KA_OBJECT) ?
"OBJECT" :
"GROUP",
688 (ODLcurrent_aggregate->
kind==
KA_OBJECT) ?
"object" :
"group",
689 ODLcurrent_aggregate->
name);
AGGREGATE ParentAggregate(AGGREGATE base_node)
void ODLStoreUnits2(VALUE_DATA *name, VALUE_DATA *exponent)
void ODLStoreValue(VALUE_DATA *item)
void ODLMarkUnits(int exponent_sign)
void ODLStoreUnits1(VALUE_DATA *name)
struct ODLInteger integer
enum Parameter_Kind PARAMETER_KIND
void ODLCheckRange(VALUE_DATA *low, VALUE_DATA *high)
struct ODLUnits * next_field
void ODLMarkParameter(VALUE_KIND kind)
void ODLBeginAggregate(AGGREGATE_KIND kind, VALUE_DATA *item)
enum Aggregate_Kind AGGREGATE_KIND
AGGREGATE ODLcurrent_aggregate
PARAMETER ODLcurrent_parameter
PARAMETER FindParameter()
char * ODLcurrent_comment
void ODLBeginParameter(PARAMETER_KIND kind, VALUE_DATA *item)
AGGREGATE NewAggregate(AGGREGATE base_node, AGGREGATE_KIND kind, char *name, char *classType)
void ODLEndAggregate(AGGREGATE_KIND kind, VALUE_DATA *item)
union Value_Data::@2 value
enum Value_Kind VALUE_KIND