fix glitch with last border in table for custom arguments

This commit is contained in:
Juergen Spitzmueller 2018-08-27 12:13:24 +02:00
parent 64ad077c9c
commit a3ed99b211

View File

@ -432,7 +432,7 @@ void handle_colalign(Parser & p, vector<ColInfo> & colinfo,
next.special += '|'; next.special += '|';
} else if (colinfo.back().special.empty()) } else if (colinfo.back().special.empty())
++colinfo.back().rightlines; ++colinfo.back().rightlines;
else if (next.special.empty()) else if (next.special.empty() && p.next_token().cat() != catEnd)
++next.leftlines; ++next.leftlines;
else else
colinfo.back().special += '|'; colinfo.back().special += '|';