ref: 13e9450a9ff1d651e155841258a126f91c7a5e77
parent: 7142f3337613d6ba2f9ef651496780bf3e546cfe
author: Quentin Rameau <quinq@fifth.space>
date: Mon Jul 4 12:46:54 EDT 2016
[driver] process parameters given after -- as operands
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -474,8 +474,12 @@
default:
usage();
} ARGOPERAND {
+operand:
newitem(&linkchain, ARGOP());
} ARGEND
+
+ for (; *argv; --argc, ++argv)
+ goto operand;
if (Eflag && (Sflag || kflag) || linkchain.n == 0 ||
linkchain.n > 1 && cflag && outfile)