1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Variable attributes can prefix name list

In this format, the attribute applies to all names in the list;
e.g. "global<const> print, require, math".
This commit is contained in:
Roberto Ierusalimschy
2025-05-18 11:43:43 -03:00
parent f2c1531e6c
commit abbae57c78
15 changed files with 84 additions and 60 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
-- $Id: testes/code.lua $
-- See Copyright Notice in file lua.h
global * <const>
global <const> *
if T==nil then
(Message or print)('\n >>> testC not active: skipping opcode tests <<<\n')