[opengtl-commits] [744] add tokens needed by the template lexer

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


Revision: 744
Author:   cyrille
Date:     2009-05-29 10:57:49 +0200 (Fri, 29 May 2009)

Log Message:
-----------
add tokens needed by the template lexer

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


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2009-05-26 13:41:59 UTC (rev 743)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2009-05-29 08:57:49 UTC (rev 744)
@@ -197,8 +197,6 @@
       return "false";
     case DEPENDENT:
       return "dependent";
-    case AROBASE:
-      return "@";
     default:
       return "[TODO] " + GTLCore::String::number( type );
   }

Modified: trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h	2009-05-26 13:41:59 UTC (rev 743)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h	2009-05-29 08:57:49 UTC (rev 744)
@@ -123,7 +123,16 @@
       TTRUE,
       TFALSE,
       DEPENDENT,
-      AROBASE ///< @
+      // Those tokens are used by CTL Templates:
+      ALLCHANNELS,
+      COLORCHANNELS,
+      ALPHACHANNEL,
+      ALPHA,
+      TYPE,
+      MIN,
+      MAX,
+      UNIT,
+      VAR
     };
     /// type of the token
     Type type;


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