]> andersk Git - splint.git/blobdiff - src/Headers/llmain.h
Fixed problem with NULL being changed.
[splint.git] / src / Headers / llmain.h
index eff74f9495123627566c7d934d7b2791f57ed22c..1a2e33113577cb1d4ca1db0432139340c7a8a36a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -7,47 +7,32 @@
 # define LLMAIN_H
 
 extern int main (int p_argc, char *p_argv[])
-# ifdef NOLCL
   /*@globals killed undef g_currentloc,
-            killed undef yyin,
-                    undef g_msgstream,
-   @*/
-  /*@modifies g_currentloc, fileSystem, internalState, yyin; 
-  @*/
-# else
-  /*@globals killed undef g_currentloc,
-            killed       g_localSpecPath,  
             killed undef g_currentSpec,
             killed undef g_currentSpecName,
             killed undef g_currentloc,
             killed undef yyin,
-                    undef g_msgstream;
+                    undef g_warningstream;
    @*/
-  /*@modifies g_currentloc,
-              g_localSpecPath, g_currentSpec, g_currentSpecName,
+  /*@modifies g_currentloc, g_currentSpec, g_currentSpecName,
              yyin, internalState, fileSystem; 
   @*/ 
-# endif
   ;
 
-extern /*@exits@*/ void llexit (int p_status);      
+extern /*@noreturn@*/ void llexit (int p_status);      
 extern void showHerald (void);
 
-/*@-redecl@*/
+/*@-redecl@*/ /*@-incondefs@*/
+/*@-declundef@*/
 extern int yyparse (void);
-extern void yyrestart (FILE *);
+extern void yyrestart (/*@dependent@*/ FILE *);
 
-# ifndef NOLCL
 extern int ylparse (void);
 extern int lslparse (void);
-# endif
-
-/*@=redecl@*/
 
-/*@-incondefs@*/ /*@-redecl@*/
-extern /*@open@*/ /*@dependent@*/ FILE *yyin;
+extern /*:open:*/ /*@dependent@*/ FILE *yyin;
 /*@=incondefs@*/ /*@=redecl@*/
-
+/*@=declundef@*/
 
 # endif
 
This page took 0.061258 seconds and 4 git commands to generate.