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

Panic for undefined AST element #610

Closed
Konstantin8105 opened this issue Feb 6, 2018 · 0 comments
Closed

Panic for undefined AST element #610

Konstantin8105 opened this issue Feb 6, 2018 · 0 comments

Comments

@Konstantin8105
Copy link
Contributor

panic: could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)>[\s]*$
0x20c6ad0 </glibc-2.27/support/temp_file-internal.h:27:62> Inherited


goroutine 13 [running]:
github.com/elliotchance/c2go/ast.groupsFromRegex(0xc4202c0340, 0x31, 0xc4203d90b8, 0x5e, 0x9)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/ast.go:270 +0x3cc
github.com/elliotchance/c2go/ast.parseWeakAttr(0xc4203d90b8, 0x5e, 0x695e1e)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/weak_attr.go:14 +0x62
github.com/elliotchance/c2go/ast.Parse(0xc4203d90af, 0x67, 0x693ac4, 0x5)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/ast.go:248 +0xaa7
main.convertLinesToNodes(0xc4201a4af0, 0x390, 0x390, 0x0, 0x0, 0x0)
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:94 +0x196
main.convertLinesToNodesParallel.func1.2(0xc4202361e0, 0xc420390000, 0xc4201a4af0, 0x390, 0x390, 0x0)
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:126 +0x59
created by main.convertLinesToNodesParallel.func1
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:130 +0x1b6

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