From 0dbedb711f05e3ca5250e01bd922b2c9319cad2c Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Fri, 15 Apr 2005 12:16:01 +0000 Subject: [PATCH] - lexer.c re-generated with flex --- bochs/bx_debug/lexer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bochs/bx_debug/lexer.c b/bochs/bx_debug/lexer.c index 186218aef..726cb3f67 100644 --- a/bochs/bx_debug/lexer.c +++ b/bochs/bx_debug/lexer.c @@ -19,7 +19,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Header: /home/volker/Archiv/bochs-cvs-rsync-20110222/bochs/bx_debug/lexer.c,v 1.3 2004-08-24 10:15:55 vruppert Exp $ + * $Header: /home/volker/Archiv/bochs-cvs-rsync-20110222/bochs/bx_debug/lexer.c,v 1.4 2005-04-15 12:16:01 vruppert Exp $ */ #define FLEX_SCANNER @@ -663,7 +663,7 @@ char *yytext; #define INITIAL 0 #line 2 "lexer.l" ///////////////////////////////////////////////////////////////////////// -// $Id: lexer.c,v 1.3 2004-08-24 10:15:55 vruppert Exp $ +// $Id: lexer.c,v 1.4 2005-04-15 12:16:01 vruppert Exp $ ///////////////////////////////////////////////////////////////////////// #include @@ -2592,7 +2592,7 @@ bx_yyinput(char *buf, int max_size) } len = strlen(lex_input_ptr); - if (len > max_size) + if (max_size > len) max_size = len; memcpy(buf, lex_input_ptr, max_size);