give blocks an id

This commit is contained in:
Quentin Carbonneaux 2015-07-11 16:01:48 -04:00
parent d165818c66
commit 529920d4f4
3 changed files with 38 additions and 31 deletions

View file

@ -204,7 +204,7 @@ blocka()
*b = zblock;
*blink = b;
blink = &b->link;
nblk++;
b->id = nblk++;
return b;
}