Re: #include's and Quoting
"H. S. Teoh" <[email protected]> Thu, 6 Nov 2003 16:25:26 -0500
| Newsgroups | gmane.comp.gnu.cons.general |
|---|---|
| Message-ID | <20031106212526.GA27353@crystal> |
On Thu, Nov 06, 2003 at 03:59:59PM -0500, Steve Jones wrote: [snip] > I'm referring to the requirement that I change all my: > > #include "blah.h" > > lines to be > > #include <blah.h> > > in order to use repository trees. [snip] Oh, I see. Well, I'm not familiar enough with the Cons code to tell you if there's a workaround for this; but from a cursory glance at the documentation, this problem is caused by the way the C preprocessor searches for include files. As such, it seems to be an inherent problem that might be difficult to workaround in Cons. I'll leave it to other listmembers to say whether or not it's possible to do this. One method might be to write a Perl script that recurses through your source tree and replace all #include "..." with #include <...> Of course, you may have to build some additional conditions into it so that it only changes relevant lines; this is just an idea off the top of my head about how you might be able to solve the problem. T -- Nothing in the world is more distasteful to a man than to take the path that leads to himself. -- Herman Hesse _______________________________________________ [email protected] http://mail.gnu.org/mailman/listinfo/cons-discuss Cons URL: http://www.dsmit.com/cons/