version 1.17, 2001/07/16 06:29:45 |
version 1.18, 2001/11/19 19:02:18 |
|
|
"yyparse()", |
"yyparse()", |
"#endif", |
"#endif", |
"{", |
"{", |
" register int yym, yyn, yystate;", |
" int yym, yyn, yystate;", |
"#if YYDEBUG", |
"#if YYDEBUG", |
"#if defined(__cplusplus) || __STDC__", |
"#if defined(__cplusplus) || __STDC__", |
" register const char *yys;", |
" const char *yys;", |
"#else /* !(defined(__cplusplus) || __STDC__) */", |
"#else /* !(defined(__cplusplus) || __STDC__) */", |
" register char *yys;", |
" char *yys;", |
"#endif /* !(defined(__cplusplus) || __STDC__) */", |
"#endif /* !(defined(__cplusplus) || __STDC__) */", |
"", |
"", |
" if ((yys = getenv(\"YYDEBUG\")))", |
" if ((yys = getenv(\"YYDEBUG\")))", |
|
|
write_section(section) |
write_section(section) |
char *section[]; |
char *section[]; |
{ |
{ |
register int c; |
int c; |
register int i; |
int i; |
register char *s; |
char *s; |
register FILE *f; |
FILE *f; |
|
|
f = code_file; |
f = code_file; |
for (i = 0; (s = section[i]); ++i) |
for (i = 0; (s = section[i]); ++i) |