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

parser: support for padding in structs #173

Closed
sbinet opened this issue Dec 19, 2017 · 0 comments
Closed

parser: support for padding in structs #173

sbinet opened this issue Dec 19, 2017 · 0 comments
Assignees

Comments

@sbinet
Copy link
Collaborator

sbinet commented Dec 19, 2017

the following fails in ng:

$> cat pad-struct.ng
type T struct {
	_ [4]byte
	N string
	_ [4]byte
}

$> ng ./pad-struct.ng
neugram: parser: field _ redeclared in struct struct {
	_ [4]byte
	N string
} (off 47)
@sbinet sbinet self-assigned this Dec 19, 2017
sbinet added a commit to sbinet-gonum/ng that referenced this issue Dec 21, 2017
sbinet added a commit to sbinet-gonum/ng that referenced this issue Dec 21, 2017
sbinet added a commit that referenced this issue Dec 21, 2017
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