dtinfo subdirectory dtinfogen

This commit is contained in:
Ulrich Wilkens
2013-08-28 20:07:21 +02:00
committed by Jon Trulson
parent aef2830df2
commit eb698f32cf
43 changed files with 1074 additions and 895 deletions

View File

@@ -36,7 +36,7 @@ AttributeData::AttributeData( const Token &t,
{
const char *str;
if ( str = attribute_value( t, attr_name ) ) {
if ( (str = attribute_value( t, attr_name )) ) {
data_complete = 1;
ValueBuffer.writeStr( str );
}
@@ -74,5 +74,8 @@ AttributeData::attribute_value( const Token &t, int attributeName )
att_type == SGMLName::TOKEN ){
return ( tmp->getAttrValueString() );
}
else {
return 0;
}
}