int mime_parse_month ( const char * & buf , const char * end , int * month ) {
 const char * e ;
 while ( ( buf != end ) && * buf && ! ParseRules : : is_alpha ( * buf ) ) {
 buf += 1 ;
 }
 e = buf ;
 while ( ( e != end ) && * e && ParseRules : : is_alpha ( * e ) ) {
 e += 1 ;
 }
 * month = month_names_dfa -> match ( buf , e - buf ) ;
 if ( * month < 0 ) {
 return 0 ;
 }
 else {
 buf = e ;
 return 1 ;
 }
 }
int mime_parse_month ( const char * & buf , const char * end , int * month ) {
 const char * e ;
 while ( ( buf != end ) && * buf && ! ParseRules : : is_alpha ( * buf ) ) {
 buf += 1 ;
 }
 e = buf ;
 while ( ( e != end ) && * e && ParseRules : : is_alpha ( * e ) ) {
 e += 1 ;
 }
 * month = month_names_dfa -> match ( buf , e - buf ) ;
 if ( * month < 0 ) {
 return 0 ;
 }
 else {
 buf = e ;
 return 1 ;
 }
 }