Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
List item problem
Correcting problem for CLang compiler
  • Loading branch information
albert-github committed Jun 21, 2021
1 parent 843a93b commit f474bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doctokenizer.l
Expand Up @@ -545,7 +545,7 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio
g_token->id = std::stoul(match.str());
} catch (...) {
g_token->id = -1;
warn(g_fileName,g_yyLineNr,"Unexpected number for list item '%s' ",match.str());
warn(g_fileName,g_yyLineNr,"Unexpected number for list item '%s' ",match.str().c_str());
}
g_token->indent = computeIndent(yytext,markPos);
return TK_LISTITEM;
Expand Down Expand Up @@ -600,7 +600,7 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio
g_token->id = std::stoul(match.str());
} catch (...) {
g_token->id = -1;
warn(g_fileName,g_yyLineNr,"Unexpected number for list item '%s' ",match.str());
warn(g_fileName,g_yyLineNr,"Unexpected number for list item '%s' ",match.str().c_str());
}
g_token->indent = computeIndent(text.c_str(),markPos);
return TK_LISTITEM;
Expand Down

0 comments on commit f474bb6

Please sign in to comment.