Parser: Optional statement semicolons

Signed-off-by: Pekka Enberg <penberg@iki.fi>
Parser: Fix grammar rule formatting

Signed-off-by: Pekka Enberg <penberg@iki.fi>