* src/SDCC.y: fixed bug #716242, exchanged pointer and function declarator in the...
[fw/sdcc] / src / SDCCast.c
index dcddefdbf81827cf0c7d4d7c65d46720d8f01753..86fad20a2c504b803c58a6f1326c60858f92d4ca 100644 (file)
@@ -4348,7 +4348,10 @@ decorateType (ast * tree, RESULT_TYPE resultType)
           parmNumber = 1;
 
           if (IS_FUNCPTR (LTYPE (tree)))
-            functype = LTYPE (tree)->next;
+            {
+              functype = LTYPE (tree)->next;
+              processFuncPtrArgs (functype);
+            }
           else
             functype = LTYPE (tree);