fixup comment in parser

This commit is contained in:
JCrawfy 2020-03-02 13:54:33 +13:00
parent e8e29e9c18
commit 1069c17fbe

View File

@ -251,7 +251,8 @@ Cell parse_cell(xlnt::row_t row_arg, xml::parser *parser)
} }
int level = 1; // nesting level int level = 1; // nesting level
// 1 == <c> // 1 == <c>
// 2 == <v>/<is>/<f> // 2 == <v>/<f>
// 3 == <is><t>
// exit loop at </c> // exit loop at </c>
while (level > 0) while (level > 0)
{ {
@ -272,7 +273,6 @@ Cell parse_cell(xlnt::row_t row_arg, xml::parser *parser)
if (level == 2) if (level == 2)
{ {
// <v> -> numeric values // <v> -> numeric values
// <is><t> -> inline string
if (string_equal(parser->name(), "v")) if (string_equal(parser->name(), "v"))
{ {
c.value += std::move(parser->value()); c.value += std::move(parser->value());