Loading...

repo-discuss@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: NoBlock + Prolog Shawn Pearce Thu Feb 16 13:01:49 2012

On Thu, Feb 16, 2012 at 12:43, Chris Harris <[EMAIL PROTECTED]> wrote:
> We are running patch version based on 2.2.2-rc1. I can confirm it contains
> c4a1e135ce32ee2d29dd756873ab23b64722271d.
>
> So two rules should look like this ? :
>
> legacy_submit_rule('NoBlock', Label, Id, Min, Max, T) :- !, T = ok(_), true.
> legacy_submit_rule('NoOp', Label, Id, Min, Max, T) :- !, T = ok(_), true.

Hmm, actually this is enough:

  legacy_submit_rule('NoBlock', Label, Id, Min, Max, T) :- !, T = ok(_).
  legacy_submit_rule('NoOp', Label, Id, Min, Max, T) :- !, T = ok(_).

The ", true" is unnecessary.

-- 
To unsubscribe, email [EMAIL PROTECTED]
More info at http://groups.google.com/group/repo-discuss?hl=en