Frama-C should produce more specific error messages when parsing annotations
ID0000538: This issue was created automatically from Mantis Issue 538. Further discussion may take place here.
| Id | Project | Category | View | Due Date | Updated |
|---|---|---|---|---|---|
| ID0000538 | Frama-C | Kernel | public | 2010-07-09 | 2010-12-17 |
| Reporter | boris | Assigned To | virgile | Resolution | fixed |
| Priority | normal | Severity | feature | Reproducibility | always |
| Platform | - | OS | - | OS Version | - |
| Product Version | Frama-C Boron-20100401 | Target Version | - | Fixed in Version | Frama-C Carbon-20101201-beta1 |
Description :
If an annotation contains a syntax error, Frama-C should be more specific about the kind of error.
For example, given a source file that contains this line
//@ loop invariant \forall integer i; aLength-1 >= i > high ==> a[i] > val);
a more helpful report may be:
foo.c, line 24: ')' unexpected //@ loop invariant \forall integer i; aLength-1 >= i > high ==> a[i] > val); ^ here