#416 include blocks in calltip files can only include 3 files

open
nobody
None
5
2004-09-08
2004-09-08
Nathan Gray
No

I have a calltips file with this block:

* include *
~/.nedit/tips/ocaml_pervasives.tips
~/.nedit/tips/ocaml_list.tips
~/.nedit/tips/metaprl_conversionals.tips
~/.nedit/tips/metaprl_tactics.tips

Only the first three tips files are included.

Rather than wading through the godawful mess that is the .tips
parser I would like to rewrite it as a proper lex/yacc grammar.
I've already whipped up a lex scanner that does 90% of the work,
and it's about 15 lines. Compare this to the 150 lines of code in
tags.c that does the same thing and you'll see the advantage.

Clearly this is post-5.5 stuff. For now the easy workaround is to
break each include block into multiple blocks with three files or
less in each.

NEdit release of Aug 20, 2004

Built on: MacOS X, PowerPC, GNU C
Built at: Sep 1 2004, 13:53:45
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40300000
Visual: 24-bit TrueColor (ID 0x22, Default)
Locale: C

Discussion

  • Thorsten Haude

    Thorsten Haude - 2006-09-17

    Logged In: YES
    user_id=119143

    What the other 10%?

     
  • Nathan Gray

    Nathan Gray - 2006-09-18

    Logged In: YES
    user_id=121553

    I would have to figure out how to integrate another lex
    file into the project without conflicting with the existing
    one. This isn't going to be possible for me any time
    soon. I'll upload my proof-of-concept lex file and maybe
    somebody else can find the time.

     
  • Nathan Gray

    Nathan Gray - 2006-09-18

    A lex program that parses .tips files

     

Log in to post a comment.