From ddef533089cc9546db8f21a675722f8797360acc Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 22 Jun 1999 03:46:08 +0000 Subject: [PATCH] line comments not inside strings or c comments. --- lexor.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lexor.lex b/lexor.lex index cf1129b6f..6b0bfc44d 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) -#ident "$Id: lexor.lex,v 1.25 1999/06/19 03:21:21 steve Exp $" +#ident "$Id: lexor.lex,v 1.26 1999/06/22 03:46:08 steve Exp $" #endif //# define YYSTYPE lexval @@ -64,7 +64,7 @@ static verinum*make_unsized_hex(const char*txt); [ \t\b\f\r] { ; } \n { yylloc.first_line += 1; } -<*>"//".* { ; } +"//".* { ; } "/*" { BEGIN(CCOMMENT); } . { yymore(); }