make eflag respect bang

This commit is contained in:
dallinjdahl 2022-10-26 19:33:39 +00:00 committed by GitHub
parent ffbdd1aa20
commit 910ef736e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,8 +162,10 @@ outcode(tree *t, int eflag)
outcode(c0, eflag);
break;
case BANG:
outcode(c0, eflag);
outcode(c0, 0);
emitf(Xbang);
if(eflag)
emitf(Xeflag);
break;
case PCMD:
case BRACE: