switched the alt_getopt module import to work with newer versions of lua (#289)

This commit is contained in:
Jon Allen 2016-09-25 12:21:34 -05:00 committed by leaf
parent c49fdca7aa
commit 32d650a5ff
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env lua #!/usr/bin/env lua
require("alt_getopt") local alt_getopt = require("alt_getopt")
local moonscript = require("moonscript.base") local moonscript = require("moonscript.base")
local util = require("moonscript.util") local util = require("moonscript.util")
local errors = require("moonscript.errors") local errors = require("moonscript.errors")

View File

@ -1,5 +1,5 @@
require "alt_getopt" alt_getopt = require "alt_getopt"
moonscript = require "moonscript.base" moonscript = require "moonscript.base"
util = require "moonscript.util" util = require "moonscript.util"

View File

@ -2,8 +2,8 @@
-- concatenate a collection of lua modules into one -- concatenate a collection of lua modules into one
require "lfs" lfs = require "lfs"
require "alt_getopt" alt_getopt = require "alt_getopt"
import insert, concat from table import insert, concat from table
import dump, split from require "moonscript.util" import dump, split from require "moonscript.util"