From 87aa341e9758528f8536c9d86f1719e5fe629587 Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Fri, 5 Apr 2019 10:42:36 +0800 Subject: [PATCH] ldgen: mapping rules should be grouped by archive --- tools/ldgen/generation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ldgen/generation.py b/tools/ldgen/generation.py index 0c05cca1a7..b411c56b4b 100644 --- a/tools/ldgen/generation.py +++ b/tools/ldgen/generation.py @@ -345,7 +345,7 @@ class GenerationModel: message = GenerationException.UNDEFINED_REFERENCE + " to scheme '" + scheme_name + "'." raise GenerationException(message, mapping) - all_mapping_rules[mapping.name] = mapping_rules + all_mapping_rules[mapping.archive] = mapping_rules # Detect rule conflicts for mapping_rules in all_mapping_rules.items():