[Swift-commit] r2725 - trunk/src/org/griphyn/vdl/engine
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Sun Mar 22 07:37:10 CDT 2009
Author: benc
Date: 2009-03-22 07:37:09 -0500 (Sun, 22 Mar 2009)
New Revision: 2725
Modified:
trunk/src/org/griphyn/vdl/engine/Karajan.java
Log:
label a TODO with TODO
Modified: trunk/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/Karajan.java 2009-03-21 19:07:57 UTC (rev 2724)
+++ trunk/src/org/griphyn/vdl/engine/Karajan.java 2009-03-22 12:37:09 UTC (rev 2725)
@@ -683,7 +683,7 @@
StringTemplate conditionST = expressionToKarajan(switchstat.getAbstractExpression(), scope);
switchST.setAttribute("condition", conditionST.toString());
- /* Check if switch statement can be anything apart from int and float */
+ /* TODO can switch statement can be anything apart from int and float ? */
if (!datatype(conditionST).equals("int") && !datatype(conditionST).equals("float"))
throw new CompilationException("Condition in switch statements has to be of numeric type.");
More information about the Swift-commit
mailing list