UVL: Fixed dependency parsing

This commit is contained in:
Steven Barth 2008-09-10 23:16:36 +00:00
parent a676cd0e14
commit ef8f835894

View file

@ -669,7 +669,7 @@ function UVL._read_dependency( self, values, deps )
for _, value in ipairs(values) do
local condition = { }
for val in value:gmatch("[^%s,]+") do
local k, v = val:match("([^%s]+)%s*=*%s*([^%s]*)")
local k, v = val:match("([^%s=]+)%s*=*%s*([^%s]*)")
if k and (
k:match("^"..expr.."%."..expr.."%."..expr.."$") or