coffee-parser: sync with upstream

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>