mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Expose new_statement, too.
This commit is contained in:
parent
69543cf85b
commit
1c32ac8ce6
2 changed files with 2 additions and 1 deletions
|
@ -87,6 +87,7 @@ struct type_s;
|
|||
|
||||
operand_t *temp_operand (struct type_s *type);
|
||||
sblock_t *new_sblock (void);
|
||||
statement_t *new_statement (const char *opcode, struct expr_s *expr);
|
||||
int find_operands (statement_t *s, operand_t **x, operand_t **y, operand_t **z,
|
||||
operand_t **w);
|
||||
void sblock_add_statement (sblock_t *sblock, statement_t *statement);
|
||||
|
|
|
@ -283,7 +283,7 @@ sblock_add_statement (sblock_t *sblock, statement_t *statement)
|
|||
sblock->tail = &statement->next;
|
||||
}
|
||||
|
||||
static statement_t *
|
||||
statement_t *
|
||||
new_statement (const char *opcode, expr_t *expr)
|
||||
{
|
||||
statement_t *statement;
|
||||
|
|
Loading…
Reference in a new issue