]> andersk Git - splint.git/blobdiff - src/lslparse.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / lslparse.c
index 5accf5fdba645009579315eb59e704876377b7b9..6f14644e408c263dcc0f1a4366e75ed0eec74195 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 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
 */
 /*
@@ -31,8 +31,8 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
-# include "llbasic.h"
+# include "splintMacros.nf"
+# include "basic.h"
 # include "lclscan.h"
 # include "signature.h"
 # include "signature2.h"
@@ -386,8 +386,8 @@ callLSL (/*@unused@*/ cstring specfile, /*@only@*/ cstring text)
   cstring noext;
   FILE *inptr;
 
-  infile = fileName (fileTable_addltemp (context_fileTable ()));
-  inptr = fileTable_openFile (context_fileTable (), infile, "w");
+  infile = fileTable_fileName (fileTable_addltemp (context_fileTable ()));
+  inptr = fileTable_createFile (context_fileTable (), infile);
   
   if (inptr == NULL)
     {
@@ -409,7 +409,7 @@ callLSL (/*@unused@*/ cstring specfile, /*@only@*/ cstring text)
 
   /* the default is to delete the input file */
 
-  outfile = fileName (fileTable_addltemp (context_fileTable ()));
+  outfile = fileTable_fileName (fileTable_addltemp (context_fileTable ()));
   invokeLSL (infile, outfile, context_getFlag (FLG_KEEP));
   cstring_free (text);
 }
@@ -428,7 +428,7 @@ static void invokeLSL (cstring infile, cstring outfile, bool deletep)
   ** way to do this. 
   */
   
-  outptr = fileTable_openFile (context_fileTable (), outfile, "w");
+  outptr = fileTable_createFile (context_fileTable (), outfile);
 
   if (outptr == NULL)
     {                  
This page took 0.242147 seconds and 4 git commands to generate.