|
From: Hans-Bernhard B. <br...@us...> - 2001-09-13 16:44:57
|
Update of /cvsroot/cscope/cscope/src
In directory usw-pr-cvs1:/tmp/cvs-serv8202
Modified Files:
fscanner.l
Log Message:
Fix bug #460345, by moving one fscanner.l rule downwards.
Index: fscanner.l
===================================================================
RCS file: /cvsroot/cscope/cscope/src/fscanner.l,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** fscanner.l 2001/08/27 13:35:25 1.7
--- fscanner.l 2001/09/13 16:44:52 1.8
***************
*** 231,241 ****
/* NOTREACHED */
}
- <IN_PREPROC>.|\n |
- <IN_PREPROC>{identifier} { /* unknown preprocessor line */
- BEGIN(INITIAL);
- goto more;
- /* NOTREACHED */
- }
-
<IN_PREPROC>endif([^a-zA-Z0-9_$\n].*)? { /* #endif */
/* delay treatment of #endif depending on whether an
--- 231,234 ----
***************
*** 469,472 ****
--- 462,472 ----
/* NOTREACHED */
}
+ <IN_PREPROC>.|\n |
+ <IN_PREPROC>{identifier} { /* unknown preprocessor line */
+ BEGIN(INITIAL);
+ goto more;
+ /* NOTREACHED */
+ }
+
class{whitespace}+{identifier}({whitespace}|{identifier}|[():])*\{ { /* class definition */
classdef = YES;
|