Move 'var' initializer checking into parser.