diff options
Diffstat (limited to 'compatibility/compatibility.nom')
| -rw-r--r-- | compatibility/compatibility.nom | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom index 6da7063..c61b5a9 100644 --- a/compatibility/compatibility.nom +++ b/compatibility/compatibility.nom @@ -80,16 +80,15 @@ externally [..] %tree with % -> (..) if ((% is "Action" syntax tree) and %ACTION_UPGRADES.%ver.(%.stub)): %with_upgraded_args = (..) - %k = (%v upgraded from %start_version to %end_version) \ - ..for %k = %v in % - set %with_upgraded_args's metatable to (%'s metatable) - return (call %ACTION_UPGRADES.%ver.(%.stub) with [%with_upgraded_args, %end_version]) + %k = (%v upgraded from %start_version to %end_version) for %k = %v in % + set %with_upgraded_args 's metatable to (% 's metatable) + return (..) + call %ACTION_UPGRADES.%ver.(%.stub) with [%with_upgraded_args, %end_version] if %UPGRADES.%ver: %with_upgraded_args = (..) - %k = (%v upgraded from %start_version to %end_version) \ - ..for %k = %v in %tree - set %with_upgraded_args's metatable to (%tree's metatable) + %k = (%v upgraded from %start_version to %end_version) for %k = %v in %tree + set %with_upgraded_args 's metatable to (%tree 's metatable) %tree = (call %UPGRADES.%ver with [%with_upgraded_args, %end_version]) return %tree |
