X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/abb1cb4309abcd21cdbbab2c4a0af5ca44126b47..210066f9dd04de7d7d2f04d320b39a52f28b290b:/src/Headers/llmain.h diff --git a/src/Headers/llmain.h b/src/Headers/llmain.h index 179f8f3..1a2e331 100644 --- a/src/Headers/llmain.h +++ b/src/Headers/llmain.h @@ -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,44 +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@*/ /*@-incondefs@*/ +/*@-declundef@*/ extern int yyparse (void); extern void yyrestart (/*@dependent@*/ FILE *); -# ifndef NOLCL extern int ylparse (void); extern int lslparse (void); -# endif -extern /*@open@*/ /*@dependent@*/ FILE *yyin; +extern /*:open:*/ /*@dependent@*/ FILE *yyin; /*@=incondefs@*/ /*@=redecl@*/ - +/*@=declundef@*/ # endif