Fix horrible bug causing parsing the #define directive to end up in an infinite loop.