diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-05 14:41:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-08 14:34:56 +0200 |
commit | ef66cd0fdb5d222013a11004e161bfdb7636d7d2 (patch) | |
tree | 4cfb39ca536a8249a495c097db387b2838b4dfe1 | |
parent | content: Add get_value_unspecified_type() (diff) | |
download | rtems-central-ef66cd0fdb5d222013a11004e161bfdb7636d7d2.tar.bz2 |
content: Support array parameters
-rw-r--r-- | rtemsspec/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsspec/content.py b/rtemsspec/content.py index 8ecf401a..9045c890 100644 --- a/rtemsspec/content.py +++ b/rtemsspec/content.py @@ -560,7 +560,7 @@ def _split_includes( _FUNCTION_POINTER = re.compile(r"^[^(]+\(\s\*([^)]+)\)\s*\(") -_DESIGNATOR = re.compile(r"([a-zA-Z0-9_]+)$") +_DESIGNATOR = re.compile(r"([a-zA-Z0-9_]+)(\[[^\]]+])?$") def _get_align_pos(param: str) -> Tuple[int, int]: |