commit 54b95ee94aa5b1503b8ea6bf1b480bf7fa720fe5
parent ec2521598d0998ea24ad2f2a7a0073ccc7e96fc0
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 4 Nov 2022 02:33:51 +0100
cc2: Whitespace change
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/cmd/cc/cc2/code.c b/src/cmd/cc/cc2/code.c
@@ -12,20 +12,20 @@ Inst *pc, *prog;
static void
nextpc(void)
{
- Inst *new;
+ Inst *new;
- new = xcalloc(1, sizeof(*new)); /* TODO: create an arena */
+ new = xcalloc(1, sizeof(*new)); /* TODO: create an arena */
- if (!pc) {
- prog = new;
- } else {
- new->next = pc->next;
- pc->next = new;
- }
+ if (!pc) {
+ prog = new;
+ } else {
+ new->next = pc->next;
+ pc->next = new;
+ }
/* SNONE being 0, calloc initialized {from1,from2,to}.kind for us */
- new->prev = pc;
- pc = new;
+ new->prev = pc;
+ pc = new;
}
static void