Fixed #5102 (Crash if -D is used when scanning simple preprocessor code.)