> > Why not:
> >
> > return strcmp(arg, "-") || && strcmp(arg, "!") && strcmp(arg, "(");
> 
> Not sure what you're recommending here.  Maybe
> 
> return (arg[0] != '-' || !strcmp(arg, "-")) && strcmp(arg, "!") &&
> strcmp(arg, "(");
> 
> ?

No, I just left an operator there when rewriting the chain, here's the
corrected one:

return strcmp(arg, "-") || strcmp(arg, "!") && strcmp(arg, "(");

Reply via email to