=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/cinfo.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/mg/cinfo.c 2005/12/13 06:01:27 1.15 +++ src/usr.bin/mg/cinfo.c 2011/11/28 04:41:39 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: cinfo.c,v 1.15 2005/12/13 06:01:27 kjell Exp $ */ +/* $OpenBSD: cinfo.c,v 1.16 2011/11/28 04:41:39 lum Exp $ */ /* This file is in the public domain. */ @@ -19,7 +19,12 @@ * character set, and lets me ask some questions that the * standard "ctype" macros cannot ask. */ -const char cinfo[256] = { +/* + * Due to incompatible behaviour between "standard" emacs and + * ctags word traversing, '_' character's value is changed on + * the fly in ctags mode, hence non-const. + */ +char cinfo[256] = { _MG_C, _MG_C, _MG_C, _MG_C, /* 0x0X */ _MG_C, _MG_C, _MG_C, _MG_C, _MG_C, _MG_C, _MG_C, _MG_C,