Menu

#22 Exceeds YYLMAX

closed
None
5
2000-12-08
2000-06-09
No

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.

Discussion

  • Petr Sorfa

    Petr Sorfa - 2000-06-26

    Will bump this value up to around 10000/15000 (currently 5000)

     
  • Petr Sorfa

    Petr Sorfa - 2000-06-26
    • assigned_to: nobody --> petr
     
  • Petr Sorfa

    Petr Sorfa - 2000-09-18

    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.

     
  • Steve Reseigh

    Steve Reseigh - 2000-09-27

    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.

     
  • Petr Sorfa

    Petr Sorfa - 2000-12-08

    This is a problem with flex, you can fiddle with YYLMAX if you wish as long as you have a non-flex lex.

     
  • Petr Sorfa

    Petr Sorfa - 2000-12-08
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB