Parse constants.