We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am trying to transpile open62541.c on MacOs.
I am geting following exceptions
Any chance todo it or it is too difficult for now? Thank You
c2go transpile open62541.c panic: could not match regexp with string ^(?P
goroutine 23 [running]: github.com/elliotchance/c2go/ast.groupsFromRegex(0xc00739d900, 0x13b, 0xc005f61300, 0x5a, 0xc005f612ca) /Users/ee/go/src/github.com/elliotchance/c2go/ast/ast.go:286 +0x379 github.com/elliotchance/c2go/ast.parseVarDecl(0xc005f61300, 0x5a, 0x1295a6b) /Users/ee/go/src/github.com/elliotchance/c2go/ast/var_decl.go:26 +0x65 github.com/elliotchance/c2go/ast.Parse(0xc005f612f8, 0x62, 0x1294a14, 0x5) /Users/ee/go/src/github.com/elliotchance/c2go/ast/ast.go:252 +0x46c main.convertLinesToNodes(0xc001507b60, 0x392c, 0x15708, 0x0, 0x0, 0x0) /Users/ee/go/src/github.com/elliotchance/c2go/main.go:89 +0x1cf main.convertLinesToNodesParallel.func1.1(0xc0007f60c0, 0xc00000c008, 0xc001507b60, 0x392c, 0x15708, 0x0) /Users/ee/go/src/github.com/elliotchance/c2go/main.go:113 +0x59 created by main.convertLinesToNodesParallel.func1 /Users/ee/go/src/github.com/elliotchance/c2go/main.go:111 +0x112
The text was updated successfully, but these errors were encountered:
This should be quite easy to resolve, see a similar PR issue here: #799
Sorry, something went wrong.
Support NRVO in VarDecl regex (#872)
a1651b9
Fixes #802
Successfully merging a pull request may close this issue.
Hello,
I am trying to transpile open62541.c on MacOs.
I am geting following exceptions
Any chance todo it or it is too difficult for now?
Thank You
c2go transpile open62541.c
[0-9a-fx]+) (?:prev (?P0x[0-9a-f]+) )?(?:parent (?P0x[0-9a-f]+) )?<(?P.)>(?P .+:\d+)?(?P used)?(?P referenced)?(?P \w+)? '(?P.+?)'(?P:'.?')?(?P extern)?(?P static)?(?P cinit)?(?P register)?[\s]*$panic: could not match regexp with string
^(?P
0x7feb6d06b2e8 <col:5, col:21> col:21 used result 'UA_BrowseResult':'UA_BrowseResult' nrvo
goroutine 23 [running]:
github.com/elliotchance/c2go/ast.groupsFromRegex(0xc00739d900, 0x13b, 0xc005f61300, 0x5a, 0xc005f612ca)
/Users/ee/go/src/github.com/elliotchance/c2go/ast/ast.go:286 +0x379
github.com/elliotchance/c2go/ast.parseVarDecl(0xc005f61300, 0x5a, 0x1295a6b)
/Users/ee/go/src/github.com/elliotchance/c2go/ast/var_decl.go:26 +0x65
github.com/elliotchance/c2go/ast.Parse(0xc005f612f8, 0x62, 0x1294a14, 0x5)
/Users/ee/go/src/github.com/elliotchance/c2go/ast/ast.go:252 +0x46c
main.convertLinesToNodes(0xc001507b60, 0x392c, 0x15708, 0x0, 0x0, 0x0)
/Users/ee/go/src/github.com/elliotchance/c2go/main.go:89 +0x1cf
main.convertLinesToNodesParallel.func1.1(0xc0007f60c0, 0xc00000c008, 0xc001507b60, 0x392c, 0x15708, 0x0)
/Users/ee/go/src/github.com/elliotchance/c2go/main.go:113 +0x59
created by main.convertLinesToNodesParallel.func1
/Users/ee/go/src/github.com/elliotchance/c2go/main.go:111 +0x112
The text was updated successfully, but these errors were encountered: