From 5d102aaec71f6e7e03c2a7d0bdc82c573891af13 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 15 Nov 2021 18:57:05 +0100 Subject: interface: Support constraints for defines --- rtemsspec/interface.py | 1 + 1 file changed, 1 insertion(+) (limited to 'rtemsspec/interface.py') diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py index 7c303f35..3a77409b 100644 --- a/rtemsspec/interface.py +++ b/rtemsspec/interface.py @@ -218,6 +218,7 @@ def _get_register_name(definition: Dict[str, Any]) -> Tuple[str, str]: _CONSTRAINT_TARGET = { "interface/function": "this directive", + "interface/define": "this constant", "interface/macro": "this directive", "interface/typedef": "functions of this type", } -- cgit v1.2.3