Parser for constant declarations