]> andersk Git - splint.git/commitdiff
noexpand always false. master origin
authorbpringlemeir <bpringlemeir>
Fri, 29 Jan 2010 00:17:11 +0000 (00:17 +0000)
committerbpringlemeir <bpringlemeir>
Fri, 29 Jan 2010 00:17:11 +0000 (00:17 +0000)
src/cpplib.c

index a7a477045b481f0ba30b8ed6edfecdcbff2597f2..a18e1218508ead358c1919c33bf3ae358f2ae465 100644 (file)
@@ -7865,7 +7865,6 @@ static bool cpp_shouldCheckMacro (cppReader *pfile, char *p) /*@modifies p*/
 {
   bool checkmacro = FALSE;
   bool hasParams = FALSE;
-  bool noexpand = FALSE;
   cstring sname;
   char c;
 
@@ -7941,17 +7940,6 @@ static bool cpp_shouldCheckMacro (cppReader *pfile, char *p) /*@modifies p*/
     }
   else
     {
-      if (noexpand)
-       {
-         checkmacro = TRUE;
-
-         if (!expectenditer)
-           {
-             noexpand = FALSE;
-           }
-       }
-      else
-       {
          if (usymtab_existsReal (sname))
            {
              uentry ue = usymtab_lookup (sname);
@@ -8106,7 +8094,6 @@ static bool cpp_shouldCheckMacro (cppReader *pfile, char *p) /*@modifies p*/
                  incLine ();
                }
            }
-       }
     }
 
   if (!checkmacro)
This page took 0.046645 seconds and 5 git commands to generate.