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

Allow _ for unused fields #10

Closed
Snaipe opened this issue Nov 6, 2016 · 0 comments
Closed

Allow _ for unused fields #10

Snaipe opened this issue Nov 6, 2016 · 0 comments

Comments

@Snaipe
Copy link
Owner

Snaipe commented Nov 6, 2016

Currently all underscore-prefixed fields raise an error since they might conflict with the internals of wssdl.

However, in lua, it is customary to use _ as a variable name for values we do not care about, e.g. for _, v in ipairs(foo) do ... end. It would be nice to allow _ as a possible field name that would be ignored in the dissection tree -- this would be useful for representing reserved, unused, or padding bytes.

@Snaipe Snaipe closed this as completed in a555d7d Nov 6, 2016
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