You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ghost code is very nice for making abstract specifications and for verification of complex code. Currently, there seems to be a lack of support for ghost annotations in Tricera. For example, the following example can not be parsed:
//@ ghost int v;/*@ requires v <= 0; requires v >= 1000; assigns v; ensures v - \old(v) == 1;*/voidmain() {
//@ ghost v = v + 1;
}
This example fails with the following error message:
'Syntax Error, trying to recover and continue parse... for input symbol "" spanning from unknown:1/5(4) to unknown:1/10(9)
(error "Unrecoverable Syntax Error")
Other Error: Unrecoverable Syntax Error'
The text was updated successfully, but these errors were encountered:
Ghost code is very nice for making abstract specifications and for verification of complex code. Currently, there seems to be a lack of support for ghost annotations in Tricera. For example, the following example can not be parsed:
This example fails with the following error message:
'Syntax Error, trying to recover and continue parse... for input symbol "" spanning from unknown:1/5(4) to unknown:1/10(9)
(error "Unrecoverable Syntax Error")
Other Error: Unrecoverable Syntax Error'
The text was updated successfully, but these errors were encountered: