[opengtl-commits] [251] convert vectors type to strings

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 251
Author:   cyrille
Date:     2008-06-27 22:33:40 +0200 (Fri, 27 Jun 2008)

Log Message:
-----------
convert vectors type to strings

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2008-06-27 20:33:27 UTC (rev 250)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2008-06-27 20:33:40 UTC (rev 251)
@@ -111,10 +111,22 @@
       return "identifier";
     case BOOL:
       return "bool";
+    case BOOL2:
+      return "bool2";
+    case BOOL3:
+      return "bool3";
+    case BOOL4:
+      return "bool4";
     case CONST:
       return "const";
     case FLOAT:
       return "float";
+    case FLOAT2:
+      return "float2";
+    case FLOAT3:
+      return "float3";
+    case FLOAT4:
+      return "float4";
     case ELSE:
       return "else";
     case FOR:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/