parser: handle foo.version explicitly
parser: handle foo.version explicitly

Otherwise, we run into a problem were version is treated as a
keyword, which is not what we want.

GNOME/template-glib,chergert/template-glib