summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/uscxml-transform.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/uscxml-transform.cpp b/apps/uscxml-transform.cpp
index 6fd1bf7..de0c594 100644
--- a/apps/uscxml-transform.cpp
+++ b/apps/uscxml-transform.cpp
@@ -291,17 +291,17 @@ int main(int argc, char** argv) {
exit(EXIT_SUCCESS);
}
-// if (outType == "vhdl") {
-// if (outputFile.size() == 0 || outputFile == "-") {
-// ChartToVHDL::transform(interpreter).writeTo(std::cout);
-// } else {
-// std::ofstream outStream;
-// outStream.open(outputFile.c_str());
-// ChartToVHDL::transform(interpreter).writeTo(outStream);
-// outStream.close();
-// }
-// exit(EXIT_SUCCESS);
-// }
+ if (outType == "vhdl") {
+ if (outputFile.size() == 0 || outputFile == "-") {
+ ChartToVHDL::transform(interpreter).writeTo(std::cout);
+ } else {
+ std::ofstream outStream;
+ outStream.open(outputFile.c_str());
+ ChartToVHDL::transform(interpreter).writeTo(outStream);
+ outStream.close();
+ }
+ exit(EXIT_SUCCESS);
+ }
// if (outType == "pml") {
// if (outputFile.size() == 0 || outputFile == "-") {