This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 42 - Problems with comments in .q files
Summary: Problems with comments in .q files
Status: RESOLVED FIXED
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: GUI (show other bugs)
Version: 3.3.38
Hardware: All All
: P5 normal
Assignee: Gerd Behrmann
URL:
Depends on:
Blocks:
 
Reported: 2003-09-10 13:18 CEST by Ulrik Nyman
Modified: 2005-07-05 10:29 CEST (History)
0 users

See Also:
Architecture:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrik Nyman 2003-09-10 13:18:38 CEST
The format of the .q files results in the fact that the user can, by writing
"*/" (end comment) at the beginning of a line affect the format of the file.

To reproduce:
1. Write in a comment box of a query:
___
*/
___
2. Save the .q file.
3. Open the same .q file.
Now there is an extra property, which is "*/"
Comment 1 Gerd Behrmann 2005-07-05 09:35:07 CEST
As a fix, slash and back slash should be escaped when appearing in comments. I will see how difficult this 
is to implement.
Comment 2 Gerd Behrmann 2005-07-05 10:29:57 CEST
A fix for 3.5 has been checked in. This bug will not be fixed in 3.4.