X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/11db3170da99e22aa0acea76debd6c7b590a629c..39888ce39f34095d7d6886b7dc8f5115f249248e:/src/scanline.c diff --git a/src/scanline.c b/src/scanline.c index 2c5d46c..a9f8be6 100644 --- a/src/scanline.c +++ b/src/scanline.c @@ -1,6 +1,6 @@ /* ** Splint - annotation-assisted static program checker -** Copyright (C) 1994-2001 University of Virginia, +** Copyright (C) 1994-2002 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 */ /* @@ -39,7 +39,7 @@ ** and determine its kind. */ -# include "lclintMacros.nf" +# include "splintMacros.nf" # include "llbasic.h" # include "signature.h" # include "signature2.h" @@ -755,7 +755,7 @@ lscanLineInit (void) ltoken_compose = LSLReserveToken (LST_COMPOSESYM, "\\composeSort"); ltoken_if = LSLReserveToken (LST_ifTOKEN, "if"); - (void) LSLReserveToken (LST_LPAR, "("); + (void) LSLReserveToken (LST_LPAR, " ("); (void) LSLReserveToken (LST_RPAR, ")"); (void) LSLReserveToken (LST_COMMA, ","); (void) LSLReserveToken (LST_COLON, ":"); @@ -803,20 +803,20 @@ lscanLineCleanup (void) charCode lscanCharClass (char c) { - return charClass[(int)(c)].code; + return charClass[ (int) (c)].code; } bool LSLIsEndComment (char c) { - return charClass[(int)(c)].endCommentChar; + return charClass[ (int) (c)].endCommentChar; } void lsetCharClass (char c, charCode cod) { - charClass[(int)(c)].code = cod; + charClass[ (int) (c)].code = cod; } void lsetEndCommentChar (char c, bool flag) { - charClass[(int)(c)].endCommentChar = flag; + charClass[ (int) (c)].endCommentChar = flag; }