Bug fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-02-23 05:57:23 +00:00
commit a3ac9bf439

View file

@ -252,10 +252,12 @@ DOH *SwigType_pop(DOH *t)
void SwigType_push(DOH *t, DOH *cons)
{
if (!cons) return;
if (!Len(cons)) return;
assert(DohIsString(t));
if (Len(t)) {
int len;
char *c = Char(t);
char *c = Char(cons);
if (c[strlen(c)-1] != '.')
Insert(t,0,".");
}