Skip to content

Commit

Permalink
Fixes #1134
Browse files Browse the repository at this point in the history
Do statements in state machines will now output a // line statement indicating where the source code is from
  • Loading branch information
Josh McManus committed Nov 12, 2017
1 parent 42c4865 commit 385fe4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UmpleToJava/UmpleTLTemplates/state_machine_doActivity.ump
Expand Up @@ -12,6 +12,9 @@ if (p != null) {
{
try
{
<<#if (p != null) {
realSb.append("\n // line " + p.getLineNumber() + " \"" + uClass.getRelativePath(p.getFilename(),"Java") + "\"");
} #>>
<<= activity.getActivityCode() >>
Thread.sleep(1);
<<# if (postTransition != null)
Expand Down

0 comments on commit 385fe4f

Please sign in to comment.