The test suite is worth more comments:
+ The suite is very partial, and may not be thought as a validation
- suite. Before it could be used to ascertain confidence, it would need,
+ suite. Before it could be used to ascertain confidence, it would need
much more tests than it has already.
+ Testing is notably more speedy than it used to be. For example, the
various hasher functions according to the prototype in hash.h.
Reported by Bruno Haible.
+ * mergelex.py: Suppress yyunput.
+ * recodext.h (get_byte_helper): Declare also when !INLINE_HARDER.
+ Reported by Bruno Haible.
+
2008-02-27 François Pinard <pinard@iro.umontreal.ca>
* hash.c: Revert last change (2008-02-21). The renaming of symbols
#endif
#endif
- static void yyunput (int c,char *buf_ptr );
-
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
return yy_is_jam ? 0 : yy_current_state;
}
- static void yyunput (int c, register char * yy_bp )
-{
- register char *yy_cp;
-
- yy_cp = (yy_c_buf_p);
-
- /* undo effects of setting up librecode_yytext */
- *yy_cp = (yy_hold_char);
-
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- /* +2 for EOB chars. */
- register int number_to_move = (yy_n_chars) + 2;
- register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
- YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
- register char *source =
- &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
-
- while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += (int) (dest - source);
- yy_bp += (int) (dest - source);
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
-
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- *--yy_cp = (char) c;
-
- (yytext_ptr) = yy_bp;
- (yy_hold_char) = *yy_cp;
- (yy_c_buf_p) = yy_cp;
-}
-
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
-.TH RECODE "1" "February 2008" "recode 3.7-beta1" "User Commands"
+.TH RECODE "1" "March 2008" "recode 3.7-beta1" "User Commands"
.SH NAME
recode \- converts files between character sets
.SH SYNOPSIS