Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented keywords are not supported #43

Open
noppelmax opened this issue May 6, 2021 · 1 comment
Open

Undocumented keywords are not supported #43

noppelmax opened this issue May 6, 2021 · 1 comment

Comments

@noppelmax
Copy link

noppelmax commented May 6, 2021

I got some problems parsing DTs of the current linux kernel. It turns out, they use the undocumented keywords. E.g /omit-if-no-ref/,/bits/. At least some of them are documented here: https://elinux.org/Device_Tree_Source_Undocumented

We might implement this. Right now I am just removing them beforehand.

s = re.sub(r'.*/omit-if-no-ref/.*;','',s)
s = re.sub(r'/omit-if-no-ref/', '', s)
s = re.sub(r'.*/bits/.*;', '', s)
@noppelmax
Copy link
Author

/delete-node/ and /delete-property/ seem to be implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant