We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1ff121b commit12c735fCopy full SHA for 12c735f
src/parser/dbclineparser.cpp
@@ -511,13 +511,13 @@ bool DbcLineParser::ParseValTableLine(Comment_t* comm, const std::string& line)
511
// last item will be ';' and number of items will be even
512
auto items =resplit(valueline,kRegValTable,0);
513
514
-if ((items.size() >=5) && (items.back() ==";") && (items.size() %2 ==0))
+if ((items.size() >=3) && (items.back() ==";") && (items.size() %2 ==0))
515
{
516
comm->MsgId = (clear_msgid(atoi(items[1].c_str())));
517
comm->SigName = items[2];
518
comm->Text ="";
519
520
-for (size_t valpair =5; valpair < (items.size() -1); valpair +=2)
+for (size_t valpair =3; valpair < (items.size() -1); valpair +=2)
521
522
comm->Text +="" + items[valpair +0] +" :";
523
comm->Text += items[valpair +1] +'\n';