lua2html.lua

changeset 1
b3889bfb6052
parent 0
140ff9cafe2f
child 2
520a1e0d187e
equal deleted inserted replaced
0:140ff9cafe2f 1:b3889bfb6052
1 -- Copyright (C) 2008-2009 Matthew Wild
2 --
3 -- This project is MIT/X11 licensed. Please see the
4 -- COPYING file in the source package for more information.
1 5
2 local keywords = { "function", "for", "if", "elseif", "then", "else", "do", "repeat", "until", "end", "return", "true", "false", "and", "not", "or", "local", "nil", "break" } 6 local keywords = { "function", "for", "if", "elseif", "then", "else", "do", "repeat", "until", "end", "return", "true", "false", "and", "not", "or", "local", "nil", "break" }
3 for _, keyword in ipairs(keywords) do keywords[keyword] = true; end 7 for _, keyword in ipairs(keywords) do keywords[keyword] = true; end
4 8
5 local ops = {}; 9 local ops = {};

mercurial