diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-19 17:37:37 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-19 17:37:37 -0800 |
| commit | a89d69e843ba83df928051005d02a932a9981f46 (patch) | |
| tree | 17f99cda2d4e5f0a7983ed14f4ac559b64944207 /core/operators.nom | |
| parent | 43ff3892f39188163446f1a00ee8d2aad59e0392 (diff) | |
Autoformatted/auto-upgraded.
Diffstat (limited to 'core/operators.nom')
| -rw-r--r-- | core/operators.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/operators.nom b/core/operators.nom index 2f79b8f..1a28a6a 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V4.10.12.7 +#!/usr/bin/env nomsu -V4.11.12.8 # This file contains definitions of operators like "+" and "and". @@ -51,7 +51,8 @@ test: if #\%value ~= #\%var then compile_error_at(\%value, "This assignment has too "..(#\%value > #\%var and "many" or "few").." values.", - "Make sure it has the same number of values on the left and right hand side of the '=' operator.") + "Make sure it has the same number of values on the left and right hand side of the '\ + ..=' operator.") end for i, \%val in ipairs(\%value) do if i > 1 then lua:append(", ") end @@ -149,7 +150,6 @@ test: assume (0 <= (one) <= 2) or barf "Three-way chained comparison failed." assume (%calls == 1) or barf "\ ..Three-way comparison evaluated middle value multiple times" - (%x < %y < %z) parses as (((%a %b %c) -> ((%a < %b) and (%b < %c))) %x %y %z) (%x <= %y < %z) parses as (((%a %b %c) -> ((%a <= %b) and (%b < %c))) %x %y %z) (%x < %y <= %z) parses as (((%a %b %c) -> ((%a < %b) and (%b <= %c))) %x %y %z) |
