]>
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, | |
140c27a8 | 13 | undef g_warningstream;@*/ |
14 | /*@modifies g_currentloc, fileSystem, internalState, yyin;@*/ | |
885824d3 | 15 | # else |
16 | /*@globals killed undef g_currentloc, | |
885824d3 | 17 | killed undef g_currentSpec, |
18 | killed undef g_currentSpecName, | |
19 | killed undef g_currentloc, | |
20 | killed undef yyin, | |
80489f0a | 21 | undef g_warningstream; |
885824d3 | 22 | @*/ |
140c27a8 | 23 | /*@modifies g_currentloc, g_currentSpec, g_currentSpecName, |
885824d3 | 24 | yyin, internalState, fileSystem; |
25 | @*/ | |
26 | # endif | |
27 | ; | |
28 | ||
27c9e640 | 29 | extern /*@noreturn@*/ void llexit (int p_status); |
885824d3 | 30 | extern void showHerald (void); |
31 | ||
abb1cb43 | 32 | /*@-redecl@*/ /*@-incondefs@*/ |
a956d444 | 33 | /*@-declundef@*/ |
885824d3 | 34 | extern int yyparse (void); |
abb1cb43 | 35 | extern void yyrestart (/*@dependent@*/ FILE *); |
885824d3 | 36 | |
37 | # ifndef NOLCL | |
38 | extern int ylparse (void); | |
39 | extern int lslparse (void); | |
40 | # endif | |
41 | ||
15b3d2b2 | 42 | extern /*:open:*/ /*@dependent@*/ FILE *yyin; |
885824d3 | 43 | /*@=incondefs@*/ /*@=redecl@*/ |
a956d444 | 44 | /*@=declundef@*/ |
885824d3 | 45 | |
46 | # endif | |
47 | ||
48 |