diff options
Diffstat (limited to 'core/operators.nom')
| -rw-r--r-- | core/operators.nom | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/operators.nom b/core/operators.nom index 4ec8ff1..555a636 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -160,8 +160,7 @@ immediately # Unary operators compile [- %] to: Lua value "(- \(% as lua expr))" compile [not %] to: Lua value "(not \(% as lua expr))" - # Using custom "len()" instead of Lua's "#" operator for compatibility with luajit. - compile [length of %list] to: Lua value "len(\(%list as lua expr))" + compile [length of %list] to: Lua value "(#\(%list as lua expr))" # Update operators immediately |
