]> andersk Git - splint.git/blobdiff - src/scan.c
*** empty log message ***
[splint.git] / src / scan.c
index 9a00372654b5d0558e50e0e9ce25b35d39c14208..cc5085812fcef03ae5bcf30c318bfb053943cd24 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on splint: splint@cs.virginia.edu
-** To report a bug: splint-bug@cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
 ** For more information: http://www.splint.org
 */
 /*
@@ -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.075406 seconds and 4 git commands to generate.