The attached code with a # character hangs the compiler. I experimented with some preprocessor tricks when I came accross the problem. The code is obviously wrong, so I would expect some kind of error message.
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.4 #4972 (Nov 23 2007) (MINGW32)
Microsoft Windows XP [Version 5.1.2600]