[BACK]Return to lex.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/lex.c between version 1.34 and 1.35

version 1.34, 2004/12/17 03:09:08 version 1.35, 2005/10/19 04:51:15
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.33 2004/04/30 08:25:38 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.34 2004/12/17 03:09:08 noro Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 720  char *readline_console(char *prompt)
Line 720  char *readline_console(char *prompt)
                         exp_result = history_expand(line,&expansion);                          exp_result = history_expand(line,&expansion);
                         if ( !exp_result ) {                          if ( !exp_result ) {
                                 free(expansion);                                  free(expansion);
                                 for ( ; isspace(*line); line++ );                                  for ( ; isspace((unsigned char)*line); line++ );
                                 add_history(line);                                  add_history(line);
                                 break;                                  break;
                         } else if ( exp_result > 0 ) {                          } else if ( exp_result > 0 ) {

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>