Skip to content

"let" in predicate body unrecognized

ID0002362: This issue was created automatically from Mantis Issue 2362. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002362 Frama-C Plug-in > clang public 2018-02-12 2018-02-12
Reporter Jochen Assigned To virgile Resolution open
Priority normal Severity minor Reproducibility always
Platform Sulfur-20171101 OS - OS Version Ubuntu 17.10
Product Version Frama-C 16-Sulfur Target Version - Fixed in Version -

Description :

Running "frama-c -wp replace_copy_cpp.cpp" on the attached program issues two messages, the 2nd probably being a follow-up problem of the 1st:

replace_copy_cpp.cpp:2:47: unexpected token 'operator -> =' when starting to parse a term replace_copy_cpp.cpp:4:21: unknown identifier 'Replace'

When the body of predicate definition of "Replace" is changed to "( \at(a[0],K) > 3 )", both message disappear.

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information