[qfcc] Add source line number to statement blocks

For statement dot blocks.
This commit is contained in:
Bill Currie 2021-07-05 18:13:08 +09:00
parent f18e1366ba
commit ef6dd422e5

View file

@ -58,7 +58,7 @@ static void
flow_statement (dstring_t *dstr, statement_t *s)
{
dasprintf (dstr, " <tr>");
dasprintf (dstr, "<td>%d</td>", s->number);
dasprintf (dstr, "<td>%d:%d</td>", s->number, s->expr ? s->expr->line : -1);
dasprintf (dstr, "<td>%s</td>", html_string(quote_string (s->opcode)));
dasprintf (dstr, "<td>%s</td>", html_string(operand_string (s->opa)));
dasprintf (dstr, "<td>%s</td>", html_string(operand_string (s->opb)));