diff --git a/lang/spec.html b/lang/spec.html index 32814284..7a5c7456 100644 --- a/lang/spec.html +++ b/lang/spec.html @@ -7877,9 +7877,6 @@

Statements

| break-stmt | stmt-with-on-fail | fail-stmt - | retry-stmt - | transaction-stmt - | retry-transaction-stmt | rollback-stmt | panic-stmt | return-stmt @@ -7889,11 +7886,14 @@

Statements

 regular-compound-stmt :=
-  do-stmt
-  | match-stmt
-  | foreach-stmt
-  | while-stmt
-  | lock-stmt
+   do-stmt
+   | match-stmt
+   | foreach-stmt
+   | while-stmt
+   | lock-stmt
+   | retry-stmt
+   | transaction-stmt
+   | retry-transaction-stmt
 

A regular-compound-stmt can be combined with an @@ -9738,6 +9738,10 @@

On fail clause

or a fail statement may cause control to transfer to the on-fail-cause. If so, the statement-block is executed; otherwise the statement-block is not executed. +When the regular-compound-stmt is itself a failure handling statement, +then only failure of that regular-compound-stmt itself causes control to +transfer to the on-fail-clause; a failure within that +regular-compound-stmt will be handled by that regular-compound-statement.

If there is a typed-binding-pattern, then it is matched to the @@ -11676,6 +11680,8 @@

Summary of changes from 2023R1 to 2024R1

  • A query-select-expr can construct a stream without explicitly specififying the stream keyword.
  • It is no longer allowed for a lock statement to contain a sync-send-action or a receive-action.
  • +
  • A retry or transaction statement may now have an on fail +clause.