mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
[qfcc] Add source line number to statement blocks
For statement dot blocks.
This commit is contained in:
parent
f18e1366ba
commit
ef6dd422e5
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue