Sha256: 55059148127126487fe2cafb2583ef4d8458007d9cb805bd3f6264376019412d

Contents?: true

Size: 377 Bytes

Versions: 4

Compression:

Stored size: 377 Bytes

Contents

(*
   Throw exception and exit current process via +exitLocation+.

   Modify +stack+ top to return from current procedure to
   +exitLocation+, and retain stack bottom to return from current
   process.  *)

macro schedule_throw( exitLocation ) {


  stack := <<
       [ stack[self][1] EXCEPT !.pc = exitLocation ],
         stack[self][ Len(stack[self]) ]
           >>;

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tla-sbuilder-0.3.9 mustache/resources/schedule_throw.tla
tla-sbuilder-0.3.8 mustache/resources/schedule_throw.tla
tla-sbuilder-0.3.7 mustache/resources/schedule_throw.tla
tla-sbuilder-0.3.4 mustache/resources/schedule_throw.tla