]> andersk Git - splint.git/blobdiff - src/scanline.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / scanline.c
index 86519f4f77803eb74a61cee7a0c9b8990fb85a3e..1c539b1f33faffae4e15e920abcfa3b733d144dd 100644 (file)
@@ -1,6 +1,6 @@
 /*
-** LCLint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Splint - annotation-assisted static program checker
+** 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,9 +17,9 @@
 ** 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 more information: http://lclint.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
 */
 /*
 ** scanline.c
@@ -39,8 +39,8 @@
 **     and determine its kind.
 */
 
-# include "lclintMacros.nf"
-# include "llbasic.h"
+# include "splintMacros.nf"
+# include "basic.h"
 # include "signature.h"
 # include "signature2.h"
 # include "scan.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;
 }
This page took 0.066093 seconds and 4 git commands to generate.