Skip to content

Undocumented <& sequence #412

@joelspadin

Description

@joelspadin

I am using Mako to generate some Devicetree code, and I was surprised to find that

property = <&node>;

gets turned into

property = &node>;

when run through Mako.

I cannot find anything on https://docs.makotemplates.org/en/latest/ that documents <& (less than, ampersand) as a special sequence, but I do see it in a couple example files in this repo. Is this a feature that should be documented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglexer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions