-#ifdef MSDOS
- if (!noparserflag)
- actfile = mktemp (stringappend (tmp_base, tmp_len, "acXXXXXX"));
- tmpattrsfile = mktemp (stringappend (tmp_base, tmp_len, "atXXXXXX"));
- tmptabfile = mktemp (stringappend (tmp_base, tmp_len, "taXXXXXX"));
- tmpdefsfile = mktemp (stringappend (tmp_base, tmp_len, "deXXXXXX"));
-#else
- if (!noparserflag)
- actfile = mktemp (stringappend (tmp_base, tmp_len, "act.XXXXXX"));
- tmpattrsfile = mktemp (stringappend (tmp_base, tmp_len, "attrs.XXXXXX"));
- tmptabfile = mktemp (stringappend (tmp_base, tmp_len, "tab.XXXXXX"));
- tmpdefsfile = mktemp (stringappend (tmp_base, tmp_len, "defs.XXXXXX"));
-#endif /* not MSDOS */
-
- if (!noparserflag)
- faction = xfopen (actfile, "w+");
- fattrs = xfopen (tmpattrsfile, "w+");
- ftable = xfopen (tmptabfile, "w+");
-
- if (definesflag)
- {
- defsfile = stringappend (name_base, base_length, ".h");
- fdefines = xfopen (tmpdefsfile, "w+");
- }
+ /* If neither -o nor --file-prefix were specified, and the input
+ file is foo.y, BASE_NAME is `foo.tab', and SHORT_BASE_NAME is
+ `foo'.