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

Crash on "return A?B:C" #19

Open
ITWOI opened this issue Nov 22, 2018 · 1 comment
Open

Crash on "return A?B:C" #19

ITWOI opened this issue Nov 22, 2018 · 1 comment

Comments

@ITWOI
Copy link

ITWOI commented Nov 22, 2018

When I use the command: "cvecgen -i ../../src/dircolors.c -o tmp.vec --start-line-number 508 --end-line-number 508"
The output is "cvecgen: tree-accessor.C:81: static TreeVector* TreeAccessor::get_node_vector(Tree*): Assertion `attr_itr!=t->attributes.end()' failed."

Please refer to the attachment for the file dircolors.c.

dircolors.c.zip

@ITWOI ITWOI changed the title Doesn't support Conditional Operator "A?B:C" Crash on Conditional Operator "A?B:C" Nov 22, 2018
@ITWOI ITWOI changed the title Crash on Conditional Operator "A?B:C" Crash on "return A?B:C" Nov 22, 2018
@ITWOI
Copy link
Author

ITWOI commented Nov 22, 2018

BTW, it failed to parse cksum.c, which is attached. It shows "failed to parse file: ../../src/cksum.c".
The reason is due to the "die" function at lines 216, 251, 314.

cksum.c.zip

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