break;
case LT_LABELSTRING: // label string definition
- if (lexrc.next())
+ if (lexrc.next()) {
labelstring_ = trim(lexrc.getDocString());
+ labelstring_appendix_ = labelstring_;
+ }
break;
case LT_ENDLABELSTRING: // endlabel string definition
}
lexrc.popTable();
- if (labelstring_appendix_.empty())
- labelstring_appendix_ = labelstring_;
return error;
}