lex: fix uninitialized fds (thanks きゐ)

front
Ori Bernstein 2021-06-16 00:28:01 +00:00
parent 1210b12f28
commit 7f697e822b
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ phead1(void)
if(nine) {
Bprint(&fout,
"int infd, outfd;\n"
"outfd = 1;\n"
"infd = 0;\n"
"\n"
"void\n"
"output(char c)\n"