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 Microchip > nests these several deep, it's easy to mismatch them. > > Is there a source file lister that will do something similar (pair these > 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 hard > to see where the problem is. > > THANKS! > > Harold Harold, 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). Best regards, Isaac --=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 .