* c macros: remove add_char redundancies * c macros: support hex chars * c macros: add test for hex chars
closes #454