version 1.15, 2003/06/19 16:34:53 |
version 1.16, 2004/01/06 05:35:26 |
|
|
if (!lflag) |
if (!lflag) |
fprintf(text_file, line_format, lineno, input_file_name); |
fprintf(text_file, line_format, lineno, input_file_name); |
|
|
|
fprintf(text_file, "#ifndef YYSTYPE_DEFINED\n"); |
|
fprintf(text_file, "#define YYSTYPE_DEFINED\n"); |
fprintf(text_file, "typedef union"); |
fprintf(text_file, "typedef union"); |
|
if (dflag) fprintf(union_file, "#ifndef YYSTYPE_DEFINED\n"); |
|
if (dflag) fprintf(union_file, "#define YYSTYPE_DEFINED\n"); |
if (dflag) fprintf(union_file, "typedef union"); |
if (dflag) fprintf(union_file, "typedef union"); |
|
|
depth = 0; |
depth = 0; |
|
|
if (--depth == 0) |
if (--depth == 0) |
{ |
{ |
fprintf(text_file, " YYSTYPE;\n"); |
fprintf(text_file, " YYSTYPE;\n"); |
|
fprintf(text_file, "#endif /* YYSTYPE_DEFINED */\n"); |
FREE(u_line); |
FREE(u_line); |
return; |
return; |
} |
} |