]> andersk Git - splint.git/blobdiff - src/scan.c
*** empty log message ***
[splint.git] / src / scan.c
index f936dd834089b5999ca2094ce3a029e4684d5a25..cc5085812fcef03ae5bcf30c318bfb053943cd24 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 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 lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-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
 */
 /*
@@ -42,8 +42,8 @@
 **     yet implemented in this version).
 */
 
-# include "lclintMacros.nf"
-# include "llbasic.h"
+# include "splintMacros.nf"
+# 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.033728 seconds and 4 git commands to generate.