Put this configuration into your ~/.ctags file:
--c++-kinds=+p --fields=+iaS --extra=+q --langdef=errmsg --regex-errmsg=/^(ER_[A-Z0-9_]+)/\1/ --langmap=errmsg:(errmsg*.txt),c:+.ic,yacc:+.yy