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

Clarify value type for SWC "Type" identifier #10

Open
eleftherioszisis opened this issue Jul 29, 2024 · 0 comments
Open

Clarify value type for SWC "Type" identifier #10

eleftherioszisis opened this issue Jul 29, 2024 · 0 comments

Comments

@eleftherioszisis
Copy link

The SWC field "Type", corresponding to column index 2, is defined as a positive integer in:

2 Type Type identifier. A positive integer.

And then below in the list of allowed types, there is also a 0 listed as a type for undefined structures:

undefined 0 Structure type unknown or unspecified

However, zero is not a positive integer, therefore there is a conflict between the definition of the field and its allowed values. I would assume that the field type is also allowed to be 0, but could you please verify it?

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