add support for doc tag
remove swp file
only warn if the same const is added twice