--- etags.c.~3.93.~ 2009-11-29 08:42:32.000000000 +1100 +++ etags.c 2010-02-19 11:04:42.000000000 +1100 @@ -4989,6 +4989,16 @@ * (set! xyzzy * Original code by Ken Haase (1985?) */ + +static char * +skip_notinname (char *cp) +{ + /* '\0' is a notinname(), don't continue past it */ + while (*cp && notinname (*cp)) + cp++; + return cp; +} + static void Scheme_functions (inf) FILE *inf; @@ -5001,8 +5011,7 @@ { bp = skip_non_spaces (bp+4); /* Skip over open parens and white space */ - while (notinname (*bp)) - bp++; + bp = skip_notinname (bp); get_tag (bp, NULL); } if (LOOKING_AT (bp, "(SET!") || LOOKING_AT (bp, "(set!"))