undid my latest fix for bug #436344
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 8 Sep 2001 10:57:24 +0000 (10:57 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 8 Sep 2001 10:57:24 +0000 (10:57 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1242 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCsymt.c

index 382836fb981a6fc4498187e56c1ad6738b161a85..b145bbe6197c95e97f355a4701b97c5cd1d3e302 100644 (file)
@@ -318,7 +318,8 @@ pointerTypes (sym_link * ptr, sym_link * type)
     ptr = ptr->next;
 
   /* could not find it */
-  if (!ptr || IS_SPEC (ptr))
+  if (!ptr || IS_SPEC (ptr) ||
+      DCL_TYPE(ptr)!=UPOINTER)
     return;
 
   /* change the pointer type depending on the