From 6dcf8804827aaacd25e232b2080222241545cc49 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 27 Feb 2002 05:46:33 +0000 Subject: [PATCH] carriage return is white space. --- vvp/lexor.lex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vvp/lexor.lex b/vvp/lexor.lex index 7adeede20..6dafa4e04 100644 --- a/vvp/lexor.lex +++ b/vvp/lexor.lex @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: lexor.lex,v 1.29 2002/01/03 04:19:02 steve Exp $" +#ident "$Id: lexor.lex,v 1.30 2002/02/27 05:46:33 steve Exp $" #endif # include "parse_misc.h" @@ -135,7 +135,7 @@ ";".* { return ';'; } "#".* { ; } -[ \t\b] { ; } +[ \t\b\r] { ; } \n { yyline += 1; } @@ -151,6 +151,9 @@ int yywrap() /* * $Log: lexor.lex,v $ + * Revision 1.30 2002/02/27 05:46:33 steve + * carriage return is white space. + * * Revision 1.29 2002/01/03 04:19:02 steve * Add structural modulus support down to vvp. *