]> andersk Git - splint.git/blobdiff - src/cppmain.c
*** empty log message ***
[splint.git] / src / cppmain.c
index f876ba4813dbddff5f34966546e33bd26edf7fc4..d64d6956a43b8bff1a848b953af07981185d4657 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** LCLint - annotation-assisted static program checker
-** Copyright (C) 1994-2000 University of Virginia,
+** Copyright (C) 1994-2001 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -48,7 +48,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 # include "lclintMacros.nf"
 # include "llbasic.h"
-# include "cpp.h"
 # include "cpplib.h"
 # include "cpphash.h"
 # include "cpperror.h"
@@ -150,7 +149,7 @@ int cppProcess (/*@dependent@*/ cstring infile,
   cppReader_finish (&g_cppState);
   check (fclose (ofile) == 0);
 
-  /* Resotre the original definition table. */
+  /* Restore the original definition table. */
 
   if (!context_getFlag (FLG_SINGLEINCLUDE))
     {
@@ -176,14 +175,14 @@ void cppAddIncludeDir (cstring dir)
 
   dirtmp->next = 0;            /* New one goes on the end */
   dirtmp->control_macro = 0;
-  dirtmp->c_system_include_path = 0;
+  dirtmp->c_system_include_path = FALSE;
   
   /* This copy is necessary...but shouldn't be? */
   /*@-onlytrans@*/
   dirtmp->fname = cstring_copy (dir);
   /*@=onlytrans@*/
   
-  dirtmp->got_name_map = 0;
+  dirtmp->got_name_map = FALSE;
   cppReader_addIncludeChain (&g_cppState, dirtmp);
 }
 
@@ -199,7 +198,7 @@ void cppDoDefine (cstring str)
 void cppDoUndefine (cstring str)
 {
   int sym_length;
-  HASHNODE *hp;
+  hashNode hp;
   char *buf = cstring_toCharsSafe (str);
 
   sym_length = cppReader_checkMacroName (&g_cppState, buf,
This page took 0.058272 seconds and 4 git commands to generate.