]> git.sur5r.net Git - cc65/commit
Fixed a bug: Function designators are converted to rvalues of type "pointer to
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 5 Oct 2009 17:49:45 +0000 (17:49 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 5 Oct 2009 17:49:45 +0000 (17:49 +0000)
commitc69e2d9f0fa2a1ca606354ad04f4e4dd74ce015a
tree636eaeb040dfa9f9969b2bd73eecd9f33955b700
parent43c89d5fd0f837882c44b244cdd911b398c3c63d
Fixed a bug: Function designators are converted to rvalues of type "pointer to
function", so dereferencing a function is a legal operation. The result is
immediately converted back to "pointer to function" again. Note: Because of
performance considerations, cc65 does treat functions as "pointer to function"
internally, but nevertheless dereferencing a function must be possible.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4330 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/expr.c