[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dejagnu-bug
Subject:    Re: [Bug-dejagnu] [PATCH] remote_expect: Pass "break" and "continue"
From:       "Maciej W. Rozycki" <macro () codesourcery ! com>
Date:       2011-03-03 16:16:10
Message-ID: alpine.DEB.1.10.1103031614410.8536 () tp ! orcam ! me ! uk
[Download RAW message or body]

Hi Ben,

> >  My proposal therefore is to simplify the return path from
> > remote_expect and except from keeping the current special handling
> > of the error exception intact, pass all the other conditions expect
> > might have produced up to the caller.  Below is the proposed
> > implementation.  It makes a loop like above behave as expected.
> 
> I agree that remote_expect should behave as similar to expect as
> possible to adhere to the principle of least surprise.  I will apply
> your patch now, thanks.

 Excellent!  Thanks a lot.  I'll work on a similar change to gdb_expect 
then.  Good luck with your daughter!

  Maciej

_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-dejagnu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic