@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.

This commit is contained in:
Christoffer Lerno
2022-05-08 15:22:38 +02:00
parent 29a9769651
commit 9691d50a6f
80 changed files with 414 additions and 513 deletions

View File

@@ -153,7 +153,7 @@ fn void update_game()
snake[0].position.x += -SQUARE_SIZE;
snake[0].position.y += 0;
default:
@unreachable();
unreachable();
}
for (int i = 1; i < counter_tail; i++)
{

View File

@@ -462,7 +462,7 @@ fn void get_random_piece()
incoming_piece[2][1] = MOVING;
incoming_piece[3][1] = MOVING; //S inversa
default:
@unreachable();
unreachable();
}
}