Lua: allow calling impossible

This commit is contained in:
Pasi Kallinen
2022-03-16 16:58:42 +02:00
parent d1ca594d1c
commit 811299edaf
2 changed files with 24 additions and 0 deletions

View File

@@ -187,6 +187,15 @@ Example:
nh.deltrap(x, y);
=== impossible
Issue an impossible, signaling a possible error in the code.
Example:
nh.impossible("Something errory happened!");
=== ing_suffix
Construct a gerund (a verb formed by appending "ing" to a noun).