Standardize directory names

Found that on the Mac ICG was ignoring all of header files comments in ${TRICK_HOME}/include because it had the relative directory "include" listed as a system path.  Comments were only processed if it wasn't in a system directory.  Changed the check to use our function that checks to see if a header is in user or Trick code, basically the same check, but it only uses full paths and doesn't get confused with "include".

refs #63
This commit is contained in:
Alex Lin
2015-06-10 14:19:00 -05:00
parent 036b85cae1
commit 77510d0ccd
5 changed files with 23 additions and 19 deletions

View File

@ -142,7 +142,7 @@ int main( int argc , char * argv[] ) {
hsd.addDefines ( defines ) ;
// Add our comment saver as a comment handler in the preprocessor
CommentSaver cs(ci.getSourceManager()) ;
CommentSaver cs(ci, hsd) ;
pp.addCommentHandler(&cs) ;
PrintAttributes pa( attr_version, hsd, cs, ci, force, sim_services_flag) ;