Below is my cscope output.
cscope: building symbol database
110 files built, 0 files copied
180 files built, 0 files copied
210 files built, 0 files copied
370 files built, 0 files copied
430 files built, 0 files copied
540 files built, 0 files copied
740 files built, 0 files copied
920 files built, 0 files copied
1030 files built, 0 files copied
1260 files built, 0 files copied
token too large, exceeds YYLMAX
I tried to look through the source, but couldn't find what triggers the error. I have cscope-15.0bl2-1 rpm binary package installed on Redhat 6.2.
Will bump this value up to around 10000/15000 (currently 5000)
This bug is actually a problem with flex, which does not handle YYLMAX correctly with the -l option. Discussion is underway to determine the appropriate solution.
I also saw this problem using GNU flex v2.5.4 on Solaris 2.6 (cscope-15.0b4). No -l option was needed, just a C file with a *really* long multiline string. Changing STMTMAX to 65000 worked. Also, I didn't get a pretty error message from yylex() like "token too large", but this is a flex on solaris problem I imagine.
This is a problem with flex, you can fiddle with YYLMAX if you wish as long as you have a non-flex lex.