Collective declaration for globals ('global *')

This commit is contained in:
Roberto Ierusalimschy
2025-05-13 11:43:10 -03:00
parent 7dc6aae290
commit 3b9dd52be0
14 changed files with 156 additions and 64 deletions

View File

@@ -1,6 +1,8 @@
-- $Id: testes/closure.lua $
-- See Copyright Notice in file lua.h
global * <const>
print "testing closures"
do -- bug in 5.4.7