Patch from Jean Wolter
expr currently always adds even if told to subtract
This commit is contained in:
parent
5875be406e
commit
07f6b95d8f
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ static VALUE *eval3 (void)
|
|||
if (nextarg ("+"))
|
||||
op = '+';
|
||||
else if (nextarg ("-"))
|
||||
op = '+';
|
||||
op = '-';
|
||||
else
|
||||
return l;
|
||||
args++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue