mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
tool/dts: accept 'label: &ref { };' syntax
The combination of a label with a node supplement was not yet covered by the dts/parse tool so far. Fixes #4962
This commit is contained in:
parent
93d6d71a1d
commit
7ce734d886
@ -128,7 +128,7 @@ extract node {(/omit-if-no-ref/)?\s*(
|
||||
extract nodename {[\w_][\w\d_\-,.+@]*(?=\s*§block)} {node}
|
||||
|
||||
# supplemental node content provided via '&label { ... }' at the top level
|
||||
extract nodesupplement {§reflabel\d+°\s*§block\d+°;\n?} {content}
|
||||
extract nodesupplement {(§labeldef\d+°\s*)?§reflabel\d+°\s*§block\d+°;\n?} {content}
|
||||
|
||||
|
||||
###############################
|
||||
|
Loading…
Reference in New Issue
Block a user