Permalink
Browse files

Fix JS output when no actions are specified

  • Loading branch information...
1 parent 19341d9 commit b758d1baf8277f31fa489e6b1235c4db95d232c0 @sidonath committed Apr 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 net/sf/smc/generator/SmcJSGenerator.java
View
4 net/sf/smc/generator/SmcJSGenerator.java
@@ -867,7 +867,7 @@ else if (actions.size() > 0)
_guardCount > 1)
{
// addCode(indent2);
- jsFunc.addCode("//# No actions.");
+ jsFunc.addCode("/* No actions. */");
}
// If there are:
// 1. No entry actions,
@@ -889,7 +889,7 @@ else if (_guardCount == 1 &&
_debugFlag == false)*/
{
// addCode(indent2);
- jsFunc.addCode("//# No actions.");
+ jsFunc.addCode("/* No actions. */");
// addCode(indent2);
}

0 comments on commit b758d1b

Please sign in to comment.