Commit eccee7d3 authored by claes's avatar claes

Flags value string or integer value

parent c7127070
......@@ -663,18 +663,13 @@ int ClassRead::attribute_attr( char *name, char *value)
if ( strcmp( attr_flags, "") != 0)
strcat( attr_flags, " | ");
strcat( attr_flags, flags_to_string( flags_value));
switch ( flags_value) {
case pwr_mAdef_pointer:
if ( flags_value & pwr_mAdef_pointer)
attr_pointer = 1;
break;
case pwr_mAdef_array:
if ( flags_value & pwr_mAdef_array)
attr_array = 1;
break;
case pwr_mAdef_rtvirtual:
if ( flags_value & pwr_mAdef_rtvirtual)
attr_rtvirtual = 1;
break;
default: ;
}
}
}
else if ( strcmp( low( name), "elements") == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment