diff options
Diffstat (limited to 'compatibility')
| -rw-r--r-- | compatibility/4.10.12.7.nom | 2 | ||||
| -rw-r--r-- | compatibility/4.11.nom | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/compatibility/4.10.12.7.nom b/compatibility/4.10.12.7.nom index fe1511c..28c07af 100644 --- a/compatibility/4.10.12.7.nom +++ b/compatibility/4.10.12.7.nom @@ -60,7 +60,7 @@ upgrade %tree to "4.10.12.7" as: go to (insert chunk) %i += 1 return - === (insert chunk) === + --- (insert chunk) --- [%chunk1, %chunk2] = [..] SyntaxTree {type: "Block", source: %first_chunk.source} SyntaxTree {type: "Block", source: %first_chunk.source} diff --git a/compatibility/4.11.nom b/compatibility/4.11.nom index 71bf3ee..042da1e 100644 --- a/compatibility/4.11.nom +++ b/compatibility/4.11.nom @@ -38,6 +38,11 @@ upgrade action (line %n in %text) to "4.11" as (%text::line %n) upgrade action (line number of %pos in %text) to "4.11" as (..) %text::line number at %pos +# Deduplicating goto labels: +upgrade action [=== %label ===, *** %label ***] to "4.11" as (--- %label ---) +upgrade action [===stop %label ===, ***stop %label ***] to "4.11" as (---stop %label ---) +upgrade action [===next %label ===, ***next %label ***] to "4.11" as (---next %label ---) + # Deprecating shorthand functions: upgrade action [if all of %items %body, if all of %items then %body] to "4.11" as (..) if (all of %items) %body |
