[opengtl-commits] [242] identifier can be function return type (a.k.a structure) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 242
Author: cyrille
Date: 2008-06-26 22:21:58 +0200 (Thu, 26 Jun 2008)
Log Message:
-----------
identifier can be function return type (a.k.a structure)
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-26 20:20:25 UTC (rev 241)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp 2008-06-26 20:21:58 UTC (rev 242)
@@ -204,7 +204,7 @@
bool Token::isFunctionType() const
{
- return isNativeType() or type == Token::VOID;
+ return isNativeType() or type == Token::VOID or type == Token::IDENTIFIER;
}
bool Token::isConstant() const