annotations: support single-line rules
authorAndrea Righi <andrea.righi@canonical.com>
Wed, 8 Feb 2023 06:40:15 +0000 (07:40 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Wed, 8 Feb 2023 06:40:15 +0000 (07:40 +0100)
commit51e666f5571cc717b90ec886b24697d9c9e740e0
tree8847a3f88d6a07aa97c3646b5519f95b402f5aff
parent08f585795b0e2e5cc410dd9366102a36c69d5f5f
annotations: support single-line rules

The old annotations scheme allowed single-line rules like:
CONFIG_FOO  policy<{..}> note<..>

With the switch to the new annotations script, we lost that capability.
This change brings it back.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
kconfig/annotations.py