a44421a79fb36cc2036fe116b97ea3bc9590cd0c
braney
  Fri Dec 2 09:34:39 2011 -0800
removed rcsid (#295)
diff --git src/hg/autoSql/eztok.c src/hg/autoSql/eztok.c
index 2e38f8b..c2fadd5 100644
--- src/hg/autoSql/eztok.c
+++ src/hg/autoSql/eztok.c
@@ -1,72 +1,71 @@
 /* Currently unused... */
 
 /* eztok - simple but often effective tokenizer.  Separates
  * things into space or punctuation delimited words.  Punctuation
  * (anything non-alphanumeric) is returned as a single character
  * token.  It will handle quotes, but not allow escapes within
  * quotes. */
 
 #include "common.h"
 #include "eztok.h"
 
-static char const rcsid[] = "$Id: eztok.c,v 1.3 2003/05/06 07:22:14 kate Exp $";
 
 struct ezTok *ezNewTok(char *string, int stringSize)
 /* Allocate and initialize a new token. */
 {
 struct ezTok *tok;
 int totalSize = stringSize + sizeof(*tok);
 tok = needMem(totalSize);
 memcpy(tok->string, string, stringSize);
 return tok;
 }
 
 struct ezTok *ezTokenize(char *text)
 /* Convert text to list of tokens. */
 {
 struct ezTok *tokList = NULL, *tok;
 char c, *s, *start = NULL, *end = NULL;
 
 s = text;
 for (;;)
     {
     if ((c = *s) == 0)
         break;
     start = s++;
     if (isspace(c))
         {
         continue;
         }
     else if (isalnum(c) || (c = '_'))
         {
         for (;;)
             {
             c = *s;
             if (isalnum(c) || (c = '_'))
                 ++s;
             else
                 break;
             }
         end = s;
         }
     else if (c == '"')
         {
         start = s;
         for (;;)
             {
             c = *s++;
             if (c == '"')
                 break;
             }
         end = s-1;
         }
     else
         {
         end = s;
         }
     tok = ezNewTok(start, end-start);
     slAddHead(&tokList, tok);
     }
 slReverse(&tokList);
 return tokList;
 }