Fix tagging of symbols in C enumerations
commitc03c195a274ab4092cc5f2a881a87cb2643d9b3b
authorEli Zaretskii <eliz@gnu.org>
Tue, 12 May 2015 16:35:54 +0000 (12 19:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 12 May 2015 16:35:54 +0000 (12 19:35 +0300)
treebc4d33dcb429e5cf18269de837c3e9a8130ce5ed
parent20cca4738aae1e90c6ca7770135fc2b30c08e0f3
Fix tagging of symbols in C enumerations

* lib-src/etags.c (consider_token): Don't tag symbols in
expressions that assign values to enum constants.  See
http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
for details.
(C_entries): Reset fvdef to fvnone after processing a preprocessor
conditional and after a comma outside of parentheses.
lib-src/etags.c