]> git.gag.com Git - fw/sdcc/commit
Fixed bug #748310 (pointer to function type mishandled when the
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 16 Aug 2003 07:58:46 +0000 (07:58 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 16 Aug 2003 07:58:46 +0000 (07:58 +0000)
commitb6d540887cbb3f18a4e60583f783c7c9cafcfb31
tree017553244a15cced0ce3f37a0335ecd02d850150
parentc7d47a5b353160d334a7e89d40aad9920dad7709
Fixed bug #748310 (pointer to function type mishandled when the
function name is omitted). Also fixed a SIGSEGV when a function
attribute (reentrant, etc) is used on a non-function or on a
function but misplaced before the parameter list.

* src/SDCC.y (abstract_declarator, abstract_declaractor2): fixed
bug #748310
* src/SDCC.y (declarator2_function_attributes): avoided SIGSEGV
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c: Added func attr misuse error msg

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2829 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCC.y
support/Util/SDCCerr.c
support/Util/SDCCerr.h