On Sun, Sep 07, 2003 at 04:27:00AM +0300, Enache Adrian wrote: # $ a=foo # $ : $((a=15)) # arithmetic expression: variable assignment error: "a=15" # $ echo $a # 15 # # --- /usr/src/bin/sh/arith.y Thu Sep 4 23:31:14 2003 # +++ ./arith.y Sun Sep 7 01:04:06 2003 # _at__at_ -155,7 +155,7 _at__at_ # } | # ARITH_VAR ARITH_ASSIGN expr # { # - if (arith_assign($1, $3) != 1) # + if (arith_assign($1, $3) != 0) # yyerror("variable assignment error"); # $$ = $3; # } | Good catch! Commited. Thanks! Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)Received on Sun Sep 07 2003 - 01:16:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC