]> andersk Git - splint.git/blobdiff - src/clabstract.c
Added support for ISO C99 _Bool and stdbool bool/true/false. The
[splint.git] / src / clabstract.c
index f1da5b09c50a700a9c8ce56d94c88785342d2a1f..d1affb49b70f199a7fb30be7386ca58d7ea53626 100644 (file)
@@ -29,7 +29,7 @@
 */
 
 # include "splintMacros.nf"
-# include "llbasic.h"
+# include "basic.h"
 # include "cgrammar.h"
 # include "usymtab_interface.h"
 
@@ -947,8 +947,8 @@ checkTypeDecl (uentry e, ctype rep)
                  vgenhinterror 
                    (FLG_SYNTAX,
                     message ("Member of boolean enumerated type definition "
-                             "does not match name set to represent TRUE "
-                             "or FALSE: %s",
+                             "does not match name set to represent true "
+                             "or false: %s",
                              ye),
                     message ("Use -boolfalse and -booltrue to set the "
                              "name of false and true boolean values."),
@@ -961,7 +961,7 @@ checkTypeDecl (uentry e, ctype rep)
   if (usymtab_exists (n))
     {
       usymId llm = usymtab_getId (n);
-      uentry le  = usymtab_getTypeEntry (llm);
+      uentry le  = usymtab_getTypeEntry (typeId_fromUsymId (llm));
 
       uentry_setDeclared (e, g_currentloc); 
       uentry_setSref (e, sRef_makeGlobal (llm, uentry_getType (le), stateInfo_currentLoc ()));
This page took 0.046212 seconds and 4 git commands to generate.