line comments effects detection of strings etc.

This commit is contained in:
steve 1999-07-25 00:03:13 +00:00
parent fc8a6c52f8
commit 7886328684
1 changed files with 3 additions and 1 deletions

View File

@ -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.10 1999/07/17 05:10:13 steve Exp $"
#ident "$Id: lexor.lex,v 1.11 1999/07/25 00:03:13 steve Exp $"
#endif
# include <stdio.h>
@ -92,6 +92,8 @@ W [ \t\b\f]+
%%
"//".* { ECHO; }
/* detect multiline, c-style comments, passing them directly to the
output. This is necessary to allow for ignoring directives that
are included within the comments. */