X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/c59f5181c83cf156efc93a26de8f921c927b70ff..a9ec328054b628447830161535f4915f715f49cd:/src/scan.c diff --git a/src/scan.c b/src/scan.c index ebbbf3d..cc50858 100644 --- a/src/scan.c +++ b/src/scan.c @@ -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)