[cvs] bogofilter/src lexer_v3.l,1.133,1.134
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2004-01-08 14:57:07
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1:/tmp/cvs-serv12363 Modified Files: lexer_v3.l Log Message: Minor clean up. Index: lexer_v3.l =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/lexer_v3.l,v retrieving revision 1.133 retrieving revision 1.134 diff -u -d -r1.133 -r1.134 --- lexer_v3.l 1 Jan 2004 21:36:25 -0000 1.133 +++ lexer_v3.l 8 Jan 2004 14:57:03 -0000 1.134 @@ -248,8 +248,6 @@ } <INITIAL>\n { set_tag("Header"); lineno += 1; } -<INITIAL><<EOF>> { return NONE; } - <INITIAL>{VERP} { skip_to('='); return VERP; } ^--{MIME_BOUNDARY}(--)?$ { if (got_mime_boundary(yy_text())) { @@ -321,7 +319,7 @@ memcpy(yycopy+yyleng-len, yytext, len); /* copy leading text to end of buffer */ yycopy[yyleng] = '\0'; /* for debugging */ - yy_unput((unsigned char *)yycopy, yyleng); + yy_unput((byte *)yycopy, yyleng); xfree(yycopy); } @@ -363,7 +361,7 @@ } if (yycopy != NULL) { - yy_unput((unsigned char *)yycopy, yyleng); + yy_unput((byte *)yycopy, yyleng); xfree(yycopy); } } @@ -418,7 +416,7 @@ yy_flex_debug = BOGOTEST('L'); #endif } - + /* * The following sets edit modes for GNU EMACS * Local Variables: |