[opengtl-commits] [505] add a COLON token

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


Revision: 505
Author:   cyrille
Date:     2008-11-27 20:22:37 +0100 (Thu, 27 Nov 2008)

Log Message:
-----------
add a COLON token

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	2008-11-27 19:22:19 UTC (rev 504)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2008-11-27 19:22:37 UTC (rev 505)
@@ -36,6 +36,8 @@
 // Special characters
     case Token::SEMI:
       return ";";
+    case Token::COLON:
+      return ":";
     case Token::COLONCOLON:
       return "::";
     case Token::COMA:

Modified: trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h	2008-11-27 19:22:19 UTC (rev 504)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.h	2008-11-27 19:22:37 UTC (rev 505)
@@ -41,7 +41,8 @@
       UNKNOWN = - 1,
     // Special characters
       SEMI = 0, ///< ;
-      COLONCOLON, ///< :
+      COLON, ///< :
+      COLONCOLON, ///< ::
       COMA, ///< ,
       DOT, ///< .
       STARTBRACE, ///< {


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