]> git.sur5r.net Git - cc65/commit
Fixed a pointer test again -- but, it's better than in pull request #391. 400/head
authorGreg King <gregdk@users.sf.net>
Sat, 11 Mar 2017 20:11:15 +0000 (15:11 -0500)
committerGreg King <gregdk@users.sf.net>
Sat, 11 Mar 2017 20:11:15 +0000 (15:11 -0500)
commit73261ea48f84ccca6ce3608fab6a9c8802ddb874
treeed7b89f21f32fa39c0fbd98dcd1621ecc230536d
parent23d4534f94eb936b42975ee3fd3c7eb9283709e2
Fixed a pointer test again -- but, it's better than in pull request #391.

This time, the expression compares the pointer directly, instead of comparing the pointer's target.  The new expression avoids an array underrun.
test/ref/yacc.c