git-svn-id: svn://oss.syntext.com/oss/serna-free/trunk@269 76c9efe7-43af-4aca-a270...
authorabs <abs@76c9efe7-43af-4aca-a270-d8da3bf5252a>
Tue, 2 Feb 2010 21:18:28 +0000 (21:18 +0000)
committerabs <abs@76c9efe7-43af-4aca-a270-d8da3bf5252a>
Tue, 2 Feb 2010 21:18:28 +0000 (21:18 +0000)
3rd/jade/libsp/parser_inst.cxx
3rd/jade/libsp/parser_inst.m4

index 21a604f..2fa1996 100644 (file)
@@ -13,6 +13,9 @@ namespace SP_NAMESPACE {
 
 #ifdef SP_MANUAL_INST
 
+#include "Attribute.h"
+#include "Trie.h"
+
 #define SP_DEFINE_TEMPLATES
 #include "Owner.h"
 #include "CopyOwner.h"
@@ -1325,28 +1328,28 @@ typedef Vector<LeafContentToken*> Dummy_95;
 #endif
 #endif
 #ifdef __DECCXX
-#pragma define_template Vector<unsigned int>
+#pragma define_template Vector<size_t>
 #else
 #ifdef __xlC__
-#pragma define(Vector<unsigned int>)
+#pragma define(Vector<size_t>)
 #else
 #ifdef SP_ANSI_CLASS_INST
-template class Vector<unsigned int>;
+template class Vector<size_t>;
 #else
-typedef Vector<unsigned int> Dummy_96;
+typedef Vector<size_t> Dummy_96;
 #endif
 #endif
 #endif
 #ifdef __DECCXX
-#pragma define_template Vector<unsigned long int>
+#pragma define_template Vector<unsigned int>
 #else
 #ifdef __xlC__
-#pragma define(Vector<unsigned long int>)
+#pragma define(Vector<unsigned int>)
 #else
 #ifdef SP_ANSI_CLASS_INST
-template class Vector<unsigned long int>;
+// XX template class Vector<unsigned int>;
 #else
-typedef Vector<unsigned long int> Dummy_97;
+typedef Vector<unsigned int> Dummy_97;
 #endif
 #endif
 #endif
index 5535850..9ade7b8 100644 (file)
@@ -164,8 +164,8 @@ __instantiate(Vector<NamedResourceTable<Entity> >)
 __instantiate(Vector<ContentModelAmbiguity>)
 __instantiate(Vector<Transition>)
 __instantiate(Vector<LeafContentToken*>)
+__instantiate(Vector<size_t>)
 __instantiate(Vector<unsigned int>)
-__instantiate(Vector<unsigned long int>)
 
 __instantiate(NamedTable<Id>)
 __instantiate(NamedTableIter<Id>)