|
From: <le...@us...> - 2007-01-20 13:52:52
|
Revision: 209
http://svn.sourceforge.net/qcell/?rev=209&view=rev
Author: lessm
Date: 2007-01-20 05:52:50 -0800 (Sat, 20 Jan 2007)
Log Message:
-----------
- LocalFunction table allocation bug resolved
Modified Paths:
--------------
trunk/qcell/basesources/LocalFunction.cpp
trunk/qcell/parsers/LTFL/LTFLParserPlugin.cpp
trunk/qcell/parsers/REAK/REAKParserPlugin.cpp
trunk/qcell/parsers/ZIFW/ZIFWParserPlugin.cpp
trunk/qcell/parsers/ZIFWP/ZIFWPParserPlugin.cpp
trunk/qcell/visgui/main.cpp
Modified: trunk/qcell/basesources/LocalFunction.cpp
===================================================================
--- trunk/qcell/basesources/LocalFunction.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/basesources/LocalFunction.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -15,7 +15,7 @@
numElements = 1;
for(int i=0;i<sumArguments.size();++i)
numElements *= sumArguments[i].size() * (maxArgVal - 1) + 1;
- numElements *= freeArguments.size() * maxArgVal;
+ numElements *= pow(maxArgVal, freeArguments.size());
break;
case LocalFunction::SWITCH:
Modified: trunk/qcell/parsers/LTFL/LTFLParserPlugin.cpp
===================================================================
--- trunk/qcell/parsers/LTFL/LTFLParserPlugin.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/parsers/LTFL/LTFLParserPlugin.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -358,7 +358,7 @@
// }
// }
//
-// return result;
+ return QByteArray();
}
Modified: trunk/qcell/parsers/REAK/REAKParserPlugin.cpp
===================================================================
--- trunk/qcell/parsers/REAK/REAKParserPlugin.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/parsers/REAK/REAKParserPlugin.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -360,7 +360,7 @@
// }
// }
//
-// return result;
+ return QByteArray();
}
Modified: trunk/qcell/parsers/ZIFW/ZIFWParserPlugin.cpp
===================================================================
--- trunk/qcell/parsers/ZIFW/ZIFWParserPlugin.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/parsers/ZIFW/ZIFWParserPlugin.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -284,7 +284,7 @@
//
// /// @todo Main function writing
//
-// return result;
+ return QByteArray();
}
Q_EXPORT_PLUGIN2(ZIFWFileParser, ZIFWParserPlugin)
Modified: trunk/qcell/parsers/ZIFWP/ZIFWPParserPlugin.cpp
===================================================================
--- trunk/qcell/parsers/ZIFWP/ZIFWPParserPlugin.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/parsers/ZIFWP/ZIFWPParserPlugin.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -343,7 +343,7 @@
//
// /// @todo Main function writing
//
-// return result;
+ return QByteArray();
}
Q_EXPORT_PLUGIN2(ZIFWPFileParser, ZIFWPParserPlugin)
Modified: trunk/qcell/visgui/main.cpp
===================================================================
--- trunk/qcell/visgui/main.cpp 2007-01-20 13:48:34 UTC (rev 208)
+++ trunk/qcell/visgui/main.cpp 2007-01-20 13:52:50 UTC (rev 209)
@@ -15,7 +15,7 @@
Q_IMPORT_PLUGIN(REAKFileParser);
Q_IMPORT_PLUGIN(LTFLFileParser);
Q_IMPORT_PLUGIN(ZIFWFileParser);
-Q_IMPORT_PLUGIN(ZIFWPFileParser);
+//Q_IMPORT_PLUGIN(ZIFWPFileParser);
/**
* @brief Displays all debug messages in GUI
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|