Opened 17 years ago
Last modified 13 years ago
#1000 closed defect (fixed)
omc deletes all the comments present in the Modelica code.
Reported by: | donida | Owned by: | donida |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Parser | Version: | |
Keywords: | Cc: | donida, |
Description
When loading the file in the OpenModelica compiler, the comments present in the Modelica code are deleted.
For example if one considers the following class:
model try
parameter Real a/*This is the first parameter*/;
parameter Real b; This is the second parameter
end try;
load this class in the omc and then "list(try)", the output is:
model try
parameter Real a;
parameter Real b;
end try;
Note:
See TracTickets
for help on using tickets.
Works in trunk (only took us 4 years)