From: Hans-Bernhard B. <br...@us...> - 2001-08-27 13:35:29
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv11494 Modified Files: fscanner.l Log Message: Extended {comment} pattern in Flex scanner to allow C++ comments, too. Fixes SF bug report #455441. Index: fscanner.l =================================================================== RCS file: /cvsroot/cscope/cscope/src/fscanner.l,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** fscanner.l 2001/08/03 16:13:10 1.6 --- fscanner.l 2001/08/27 13:35:25 1.7 *************** *** 128,132 **** identifier [a-zA-Z_$][a-zA-Z_0-9$]* number \.?[0-9][.0-9a-fA-FlLuUxX]* ! comment "/*"([^*]*("*"+[^/])?)*"*/" whitespace [ \t\n]|{comment} --- 128,132 ---- identifier [a-zA-Z_$][a-zA-Z_0-9$]* number \.?[0-9][.0-9a-fA-FlLuUxX]* ! comment "/*"([^*]*("*"+[^/])?)*"*/"|"//"[^\n]*\n whitespace [ \t\n]|{comment} |