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.
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.
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