Quantcast

Fix compilation errors, is the luac -p script still being run on commits?

ackis [06-05-09 - 20:28]
Fix compilation errors, is the luac -p script still being run on commits?
Filename
.pkgmeta
ARLDatamine.lua
diff --git a/.pkgmeta b/.pkgmeta
index 678ba08..bd0d06d 100644
--- a/.pkgmeta
+++ b/.pkgmeta
@@ -1,4 +1,4 @@
-package-as: AckisRecipeList
+package-as: AckisRecipeList

 license-output: LICENSE.txt

diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index d423c85..dc411b1 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -2111,7 +2111,7 @@ local tooltipflags = {
 	Trinket = false,
 	Ring = false,
 	Necklace = false,
-	Shield]  = false,
+	Shield  = false,
 	OneHanded = false,
 	TwoHanded = false,
 	Axe = false,
@@ -2123,7 +2123,7 @@ local tooltipflags = {
 	Wand = false,
 	Thrown = false,
 	Bow = false,
-	Crosstooltipflags[Bow = false,
+	CrossBow = false,
 	Ammo = false,
 	Fist = false,
 	Gun = false,
@@ -2161,7 +2161,7 @@ local function resettooltipscanflags()
 		Trinket = false,
 		Ring = false,
 		Necklace = false,
-		Shield]  = false,
+		Shield  = false,
 		OneHanded = false,
 		TwoHanded = false,
 		Axe = false,
@@ -2230,7 +2230,7 @@ function addon:ScanToolTip(name, recipelist, isvendor)
 			local rep,replevel = strmatch(text, "Requires (.+) %- (.+)")
 			if (factiontext[rep]) then
 				tooltipflags[repid] = factiontext[rep]
-				tooltipflags[repidlevel} = factionlevels[replevel]
+				tooltipflags[repidlevel] = factionlevels[replevel]
 			end
 		end

@@ -2447,6 +2447,10 @@ function addon:ScanToolTip(name, recipelist, isvendor)
 		end
 	end

+end
+
+function addon:PrintScanResults()
+
 	if (recipefound) then
 		-- Parse the recipe database until we get a match on the name
 		local spellid