help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Debug informations


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Debug informations
Date: Sat, 8 Jun 2013 10:30:01 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jun 07, 2013 at 05:15:15PM +0200, Gwenaël Casaccio wrote:

> -      if (_gst_declare_arguments (method->v_method.selectorExpr) == -1)
> +      if ((argCount = _gst_declare_arguments 
> (method->v_method.selectorExpr)) == -1)

I don't know the GNU style but I find such statements with this kind of
side-effect dangerous.

        argCount = _gst_declare_arguments (method->v_method.selectorExpr);
        if (argCount == -1)
          ....

> +            object->data[0] = _gst_intern_string 
> (args->v_expr.expression->v_list.name);
> +            i = i + 1;

               i += 1; ??


I still need to have a deeper look, but thank you so far.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]