소스 검색

Added luajit interp lines to the other 2 lua examples.

zinobias 2 년 전
부모
커밋
1385babdfb
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      examples/lua/sorting.lua
  2. 1 0
      examples/lua/symmetric_difference.lua

+ 1 - 0
examples/lua/sorting.lua

@@ -1,3 +1,4 @@
+#!/usr/bin/env luajit
 fruits = {"banana","orange","apple","grapes"}
 
 for k,v in ipairs(fruits) do

+ 1 - 0
examples/lua/symmetric_difference.lua

@@ -1,3 +1,4 @@
+#!/usr/bin/env luajit
 A = { ["John"] = true, ["Bob"] = true, ["Mary"] = true, ["Elena"] = true }
 B = { ["Jim"] = true, ["Mary"] = true, ["John"] = true, ["Bob"] = true }