[server] Marker attributes: the position is an option, as it can be unknown.
Fixes a bug of the SourceCode component where the view is empty on markers with unknown position, for instance on type markers. Now, when selecting a type marker, the view displays the top of the current function, which is not perfect, but better.
Showing
- ivette/src/frama-c/kernel/api/ast/index.ts 5 additions, 5 deletionsivette/src/frama-c/kernel/api/ast/index.ts
- ivette/src/frama-c/plugins/eva/valuetable.tsx 3 additions, 2 deletionsivette/src/frama-c/plugins/eva/valuetable.tsx
- src/plugins/server/kernel_ast.ml 6 additions, 2 deletionssrc/plugins/server/kernel_ast.ml
Please register or sign in to comment