]> andersk Git - splint.git/blobdiff - src/scan.c
*** empty log message ***
[splint.git] / src / scan.c
index ebbbf3d979d89972885920ef4d8f64b1225eca0a..cc5085812fcef03ae5bcf30c318bfb053943cd24 100644 (file)
@@ -43,7 +43,7 @@
 */
 
 # include "splintMacros.nf"
-# include "llbasic.h"
+# include "basic.h"
 # include "signature.h"
 # include "signature2.h"
 # include "scan.h"
@@ -61,8 +61,9 @@ static unsigned int lineNumber;       /* current line number */
 unsigned int lsllex (YYSTYPE *lval)
 {
   /* This is important!  Bison expects this */
-  lval->ltok = LSLScanNextToken ();
-  return (ltoken_getCode (lval->ltok));
+  /* splint doesn't know the type of YYSTYPE, so we need to ignore warnings here */
+  /*@i1@*/ lval->ltok = LSLScanNextToken ();
+  /*@i1@*/ return (ltoken_getCode (lval->ltok));
 }
 
 ltoken LSLScanNextToken (void)
This page took 0.033966 seconds and 4 git commands to generate.