Skip to content

"assigns \nothing \from ..." unrecognized, although admitted by ACSL grammar

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


Id Project Category View Due Date Updated
ID0001794 Frama-Clang Kernel public 2014-06-02 2015-02-20
Reporter Jochen Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS xubuntu-cfe13.10 OS Version -
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version -

Description :

Output from "frama-c from03.c" is: from03.c:5:[kernel] user error: unexpected token '\from'

Output after reaminig to "from03.cpp": from03.cpp:5:23: Expecting ';' after assigns

However, according to the manual "ACSL Version 1.8 --- Implementation in Neon-20140301", fig.2.22, p.63, it is valid syntax.

I could image that such clauses can make sense, e.g. to specify that a function writes a certain variable to stdout; in security applications it may be undesirable to express such issues. (If I'm wrong here, the above error message wouldn't be an issue.)

Attachments

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