mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fixup comment in parser
This commit is contained in:
parent
e8e29e9c18
commit
1069c17fbe
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user