unable to parse a file

Lorenzo Delana ldelana at libero.it
Sun Jul 8 11:59:32 UTC 2001


(current CVS kdebase/kdeprint/descriptions/printer.cpp)

--- cut here ---
// /usr/share/cups/model/cb_fax.ppd
i18n("Media Size");
i18n("Letter");
i18n("Legal");
i18n("A4");
i18n("PageRegion");
...
--- cut here ---

the problem is that this file isn't parseable... in fact Makefile.am for this 
are:

(alpha) ~/WorkSpace/kdebase/kdeprint/descriptions$ cat Makefile.am
 
printers.cpp:
        : > printers.cpp
        for i in `find /usr/share/cups/model -type f`; do echo "// $$i" >> 
printers.cpp; perl ./readppd < $$i >> printers.cpp; done
        iconv -flatin1 -tutf-8 printers.cpp > printers.new && mv printers.new 
printers.cpp

...so it is a metacppfile;
the problem is that I am unable to generate and open the KDevelop Project for 
KDE Base source tree.


Possible solutions:
- check where the lexer enter Infinite LOOPING and insert a safe "parse 
skipping"
- check for customized Makefile.am wrapped routines, like in this case 
"printers.cpp:"

In any case, current KDevelop generated Project from auto{make,conf} 
structured source trees is not yet compilable, so may be, for now, plausible 
to disable totally the parsing for files (in automake.am) for that a 
redefined custom rules are defined.



bye
Lore

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list