Fix access tag check

This commit is contained in:
Patrick Niklaus 2015-05-15 17:01:21 +02:00
parent c778ab9622
commit 6166d946f7
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ end
function node_function (node, result)
-- parse access and barrier tags
local access = Access.find_access_tag(node, access_tags_hierachy)
if access ~= "" then
if access and access ~= "" then
if access_tag_blacklist[access] then
result.barrier = true
end

View File

@ -190,7 +190,7 @@ end
function node_function (node, result)
-- parse access and barrier tags
local access = find_access_tag(node, access_tags_hierachy)
if access ~= "" then
if access and access ~= "" then
if access_tag_blacklist[access] then
result.barrier = true
end