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

@@ -62,10 +62,10 @@ int toc_depth(const Token& t)
if( t.LookupAttr( OLAF::OL_ToC ) ){
ret = 0;
}
else if(a = t.LookupAttr( OLAF::OL_ToCEntry )){
else if((a = t.LookupAttr( OLAF::OL_ToCEntry ))){
const char *val;
if(val = a->getAttrValueString()){
if((val = a->getAttrValueString())){
ret = atoi(val);
}
}