27 YAC_ASSERT(location != INT_MAX,
"ERROR(yac_str2loc): invalid location")
34 char const * location_str =
38 "ERROR(yac_loc2str): location must be one of "
39 "YAC_LOC_CORNER/YAC_LOC_EDGE/YAC_LOC_CELL/YAC_LOC_UNDEFINED.")
49 "ERROR(get_location): location must be one of "
50 "YAC_LOC_CORNER/YAC_LOC_EDGE/YAC_LOC_CELL/YAC_LOC_UNDEFINED.")
enum yac_location yac_str2loc(char const *location_str)
char const * yac_loc2str(enum yac_location location)
enum yac_location yac_get_location(int const location)
struct yac_name_type_pair yac_location_name_type_pair[]
int yac_name_type_pair_get_type(struct yac_name_type_pair const *pairs, size_t count, char const *name)
char const * yac_name_type_pair_get_name(struct yac_name_type_pair const *pairs, size_t count, int type)
#define YAC_ASSERT(exp, msg)