summaryrefslogtreecommitdiff
path: root/pygments/lexers/_luabuiltins.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/_luabuiltins.py')
-rw-r--r--pygments/lexers/_luabuiltins.py37
1 files changed, 18 insertions, 19 deletions
diff --git a/pygments/lexers/_luabuiltins.py b/pygments/lexers/_luabuiltins.py
index 40037357..87bfb26e 100644
--- a/pygments/lexers/_luabuiltins.py
+++ b/pygments/lexers/_luabuiltins.py
@@ -16,7 +16,7 @@
from __future__ import print_function
-MODULES = {'basic': ['_G',
+MODULES = {'basic': ('_G',
'_VERSION',
'assert',
'collectgarbage',
@@ -42,14 +42,14 @@ MODULES = {'basic': ['_G',
'tostring',
'type',
'unpack',
- 'xpcall'],
- 'coroutine': ['coroutine.create',
+ 'xpcall'),
+ 'coroutine': ('coroutine.create',
'coroutine.resume',
'coroutine.running',
'coroutine.status',
'coroutine.wrap',
- 'coroutine.yield'],
- 'debug': ['debug.debug',
+ 'coroutine.yield'),
+ 'debug': ('debug.debug',
'debug.getfenv',
'debug.gethook',
'debug.getinfo',
@@ -62,8 +62,8 @@ MODULES = {'basic': ['_G',
'debug.setlocal',
'debug.setmetatable',
'debug.setupvalue',
- 'debug.traceback'],
- 'io': ['io.close',
+ 'debug.traceback'),
+ 'io': ('io.close',
'io.flush',
'io.input',
'io.lines',
@@ -73,8 +73,8 @@ MODULES = {'basic': ['_G',
'io.read',
'io.tmpfile',
'io.type',
- 'io.write'],
- 'math': ['math.abs',
+ 'io.write'),
+ 'math': ('math.abs',
'math.acos',
'math.asin',
'math.atan2',
@@ -103,16 +103,16 @@ MODULES = {'basic': ['_G',
'math.sin',
'math.sqrt',
'math.tanh',
- 'math.tan'],
- 'modules': ['module',
+ 'math.tan'),
+ 'modules': ('module',
'require',
'package.cpath',
'package.loaded',
'package.loadlib',
'package.path',
'package.preload',
- 'package.seeall'],
- 'os': ['os.clock',
+ 'package.seeall'),
+ 'os': ('os.clock',
'os.date',
'os.difftime',
'os.execute',
@@ -122,8 +122,8 @@ MODULES = {'basic': ['_G',
'os.rename',
'os.setlocale',
'os.time',
- 'os.tmpname'],
- 'string': ['string.byte',
+ 'os.tmpname'),
+ 'string': ('string.byte',
'string.char',
'string.dump',
'string.find',
@@ -136,12 +136,12 @@ MODULES = {'basic': ['_G',
'string.rep',
'string.reverse',
'string.sub',
- 'string.upper'],
- 'table': ['table.concat',
+ 'string.upper'),
+ 'table': ('table.concat',
'table.insert',
'table.maxn',
'table.remove',
- 'table.sort']}
+ 'table.sort')}
if __name__ == '__main__':
import re
@@ -251,5 +251,4 @@ if __name__ == '__main__':
regenerate(__file__, modules)
-
run()