Parser: Fix operator pattern matching

Fix operator pattern matching in preparation for adding support for
binary expressions.

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