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