]> andersk Git - splint.git/blobdiff - src/scan.c
*** empty log message ***
[splint.git] / src / scan.c
index 8c38a02780cdd7a10326be668a9f072a34b68c1a..cc5085812fcef03ae5bcf30c318bfb053943cd24 100644 (file)
@@ -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.038874 seconds and 4 git commands to generate.