Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001800Frama-CKernelpublic2014-06-05 17:022014-06-06 00:15
ReporterIan 
Assigned Tovirgile 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSUbuntuOS Version
Product VersionFrama-C Neon-20140301 
Target VersionFixed in Version 
Summary0001800: Cannot use quotes in comments in annotations
DescriptionWhen using the //@ annotations, a comment at the end that has an unmatched ' or " causes the kernel to report an error.
Steps To Reproducecreate file comment_parse.c: void f(){ //@assert \true;// Validates in 0'0" } Run: frama-c -cpp-command 'gcc -C -E' -pp-annot comment_parse.c Receive output: [kernel] preprocessing with "gcc -C -E -dD comment_parse.c" "comment_parse.c":5:[kernel] user error: Can't preprocess annotation: eof while parsing a char literal Annotation will be kept as is comment_parse.c:3:[kernel] user error: syntax error [kernel] user error: skipping file "comment_parse.c" that has errors. [kernel] Frama-C aborted: invalid user input. Removing the ' and " characters will cause no error to occur.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-06-05 17:02 Ian New Issue
2014-06-06 00:15 signoles Assigned To => virgile
2014-06-06 00:15 signoles Status new => assigned


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker