compiler, runtime: Control Declarations Have Apply Statements
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -123,3 +123,9 @@ extension ReturnStatement: EvaluatableStatement {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension ApplyStatement: EvaluatableStatement {
|
||||
public func evaluate(execution: ProgramExecution) -> (ControlFlow, ProgramExecution) {
|
||||
return (ControlFlow.Next, execution)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user