From e933b56507ced13099dc8a0daeb92ff344ab073d Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 8 Sep 2001 01:22:55 +0000 Subject: [PATCH] extend xz from the top character, not the second-from-top. --- lexor.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lexor.lex b/lexor.lex index 6d7a82f99..58c6c2076 100644 --- a/lexor.lex +++ b/lexor.lex @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: lexor.lex,v 1.62 2001/08/31 17:38:41 steve Exp $" +#ident "$Id: lexor.lex,v 1.63 2001/09/08 01:22:55 steve Exp $" #endif # include "config.h" @@ -746,7 +746,7 @@ static verinum*make_sized_hex(const char*txt) "'' truncated to " << size << " bits." << endl; // zero extend hex numbers - while (idx < size) switch (ptr[1]) { + while (idx < size) switch (ptr[0]) { case 'x': case 'X': bits[idx++] = verinum::Vx; break;