> On 02/09/2014 15:31, Harold Hallikainen wrote: > > I'm messing with CustomSNMPApp.c and apparently messed it up somewhere > > (missing #endif). So far, I've printed it out and marked the #ifdef, > > #else, #endif blocks by hand as lines in the left margin. Since Microch= ip > > nests these several deep, it's easy to mismatch them. > > > > Is there a source file lister that will do something similar (pair thes= e > > up through nesting) so I can figure out where I went wrong? I see that > > MPLABX and Notepad++ let you collapse blocks, but it's still pretty har= d > > to see where the problem is. > > > > THANKS! > > > > Harold >=20 >=20 > Harold, >=20 > Code::Blocks is a nice IDE that shows the #if or #else block that is not > included in compilation in a fainter shade (the header files with the > definitions you use in the #if must be accessible). >=20 >=20 > Best regards, >=20 > Isaac >=20 MPLABX also does this. /Ruben --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .