digitalmars.D.learn - bcdgen and gccxml: detecting parse errors?
- Lutger (7/7) Jan 26 2009 When bcdgen parses a header file with errors, it still completes the
- Lutger (4/4) Jan 26 2009 So it was my error, some modifications I made to bcdgen.
- John Reimer (8/15) Jan 26 2009 Because the newsgroup version of Murphy's Law is fairly consistant? :D
When bcdgen parses a header file with errors, it still completes the translation. Is there a way I can get bcdgen to error out? I think it's a gccxml thing, for even while detecting errors it returns 0. The problem is that some projects seem to have header files which are only useful if included at some specific point in another header file (like X11). I'd like to script making bindings, for which it would be useful to skip erratic header files.
Jan 26 2009
So it was my error, some modifications I made to bcdgen. Sorry for the noise. * why is it that these dumb mistakes always get apparent at once AFTER posting ...*
Jan 26 2009
Hello lutger,So it was my error, some modifications I made to bcdgen. Sorry for the noise. * why is it that these dumb mistakes always get apparent at once AFTER posting ...*Because the newsgroup version of Murphy's Law is fairly consistant? :D At the very least, knowing this law, we should feel the urge to post as often and rashly as possible so that we are guaranteed to find all our bugs as quickly as possible. ;D Admittedly, I've fallen prey to this many times. :) All the best! -JJR
Jan 26 2009