Skip to content

Commit 8261bcc

Browse files
committed
fix the issue related to parsing two times those umple files defined in the use statement.
1 parent 23b2c73 commit 8261bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cruise.umple/src/UmpleInternalParser_CodeParserHandlers.ump‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class UseStatementParserAction{
5050
//TODO: this issue must be investigated more. Currently it is working with the following solution.
5151
File f = new File(fileName);
5252
if (!f.exists()) fileName = path +value;
53-
if(!data.getHasParsed().contains(fileName))
53+
if(!data.getHasParsed().contains(f.getAbsolutePath()))
5454
{
55-
data.getHasParsed().add(fileName);
55+
data.getHasParsed().add(f.getAbsolutePath());
5656
RuleBasedParserThread thread = new RuleBasedParserThread(
5757
data.getAnalyzer().getRules().get("$ROOT$"),
5858
token,

0 commit comments

Comments
 (0)