diff gen/typinf.cpp @ 506:a6c105aa00d5

Provided overload to TypeClass::builtinTypeInfo to return true. Shouldn't almost all types have a builtin typeinfo? Maybe it'd be better to have the default at true and only overload typedef and friends.
author Christian Kamm <kamm incasoftware de>
date Wed, 13 Aug 2008 22:14:43 +0200
parents 6590ec13f14d
children af9bdd69a7ec
line wrap: on
line diff
--- a/gen/typinf.cpp	Wed Aug 13 20:50:54 2008 +0200
+++ b/gen/typinf.cpp	Wed Aug 13 22:14:43 2008 +0200
@@ -224,6 +224,11 @@
     return next->isTypeBasic() != NULL;
 }
 
+int TypeClass::builtinTypeInfo()
+{
+    return 1;
+}
+
 /* ========================================================================= */
 
 /***************************************