Use enumerators instead of hardcoded integers when processing macro names.