Skip to content

Commit c5a5972

Browse files
Fix time_to_pan for Call revamp
1 parent 1863ef8 commit c5a5972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pancake/time_to_panScript.sml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Definition task_controller_def:
251251
wait_input_time_limit;
252252
If (Cmp Equal (Var «sysTime») (Const (n2w (dimword (:α) - 2))))
253253
check_input_time (Skip:'a prog);
254-
Call (SOME («taskRet», NONE)) (Var «loc»)
254+
Call (SOME (SOME «taskRet», NONE)) (Var «loc»)
255255
[Struct (normalisedClks «sysTime» «clks» clksLength);
256256
Var «event»];
257257
Assign «clks» nClks;
@@ -317,7 +317,7 @@ Definition ta_controller_def:
317317
]
318318
(nested_seq
319319
[
320-
Call (SOME («retvar»,
320+
Call (SOME (SOME «retvar»,
321321
(SOME («panic», «excpvar», (Return (Const 1w))))))
322322
(Label «start_controller»)
323323
[];

0 commit comments

Comments
 (0)