]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | /* |
28bf4b0b | 2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. |
885824d3 | 3 | ** See ../LICENSE for license information. |
4 | ** | |
5 | */ | |
6 | # ifndef LLMAIN_H | |
7 | # define LLMAIN_H | |
8 | ||
9 | extern int main (int p_argc, char *p_argv[]) | |
10 | # ifdef NOLCL | |
11 | /*@globals killed undef g_currentloc, | |
12 | killed undef yyin, | |
495af944 | 13 | undef g_warningstream, |
14 | @*/ | |
15 | /*@modifies g_currentloc, fileSystem, internalState, yyin; | |
16 | @*/ | |
885824d3 | 17 | # else |
18 | /*@globals killed undef g_currentloc, | |
495af944 | 19 | killed g_localSpecPath, |
885824d3 | 20 | killed undef g_currentSpec, |
21 | killed undef g_currentSpecName, | |
22 | killed undef g_currentloc, | |
23 | killed undef yyin, | |
80489f0a | 24 | undef g_warningstream; |
885824d3 | 25 | @*/ |
495af944 | 26 | /*@modifies g_currentloc, |
27 | g_localSpecPath, g_currentSpec, g_currentSpecName, | |
885824d3 | 28 | yyin, internalState, fileSystem; |
29 | @*/ | |
30 | # endif | |
31 | ; | |
32 | ||
27c9e640 | 33 | extern /*@noreturn@*/ void llexit (int p_status); |
885824d3 | 34 | extern void showHerald (void); |
35 | ||
abb1cb43 | 36 | /*@-redecl@*/ /*@-incondefs@*/ |
a956d444 | 37 | /*@-declundef@*/ |
885824d3 | 38 | extern int yyparse (void); |
abb1cb43 | 39 | extern void yyrestart (/*@dependent@*/ FILE *); |
885824d3 | 40 | |
41 | # ifndef NOLCL | |
42 | extern int ylparse (void); | |
43 | extern int lslparse (void); | |
44 | # endif | |
45 | ||
15b3d2b2 | 46 | extern /*:open:*/ /*@dependent@*/ FILE *yyin; |
885824d3 | 47 | /*@=incondefs@*/ /*@=redecl@*/ |
a956d444 | 48 | /*@=declundef@*/ |
885824d3 | 49 | |
50 | # endif | |
51 | ||
52 |