Skip to content

Commit

Permalink
Fix definition of os.exit() in Lua 5.2+
Browse files Browse the repository at this point in the history
Fixes Kampfkarren#538

In Lua 5.2, os.exit() gained an additional boolean argument.
  • Loading branch information
Zash committed Jul 23, 2023
1 parent 9d82de1 commit 2c33bd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions selene-lib/default_std/lua52.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ globals:
- type: number
- required: false
type: number
os.exit:
args:
- required: false
type: number
- required: false
type: bool
package.config:
property: read-only
rawlen:
Expand Down

0 comments on commit 2c33bd4

Please sign in to comment.