parse variable declarations