git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2040
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2002-07-18 Bernhard Held <bernhard@bernhardheld.de>
+ * src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107
+
2002-06-22 Scott Dattalo <scott@dattalo.com>
* src/pic/*: Numerous bug fixes. Flow analysis has been enhanced.
- Rewrote the register banking algorithm.
2002-06-22 Scott Dattalo <scott@dattalo.com>
* src/pic/*: Numerous bug fixes. Flow analysis has been enhanced.
- Rewrote the register banking algorithm.
/*----------------------------*/
case PTR_OP:
/* if not pointer to a structure */
/*----------------------------*/
case PTR_OP:
/* if not pointer to a structure */
- if (!IS_PTR (LTYPE (tree)))
+ if (!IS_PTR (LTYPE (tree)) && !IS_ARRAY (LTYPE(tree)))
{
werror (E_PTR_REQD);
goto errorTreeReturn;
{
werror (E_PTR_REQD);
goto errorTreeReturn;