mycoboco / beluga

a standard C compiler (with an integrated preprocessor)
http://code.woong.org/beluga
Other
65 stars 8 forks source link

cannot handle recursive expansion from token pasting #105

Closed mycoboco closed 6 years ago

mycoboco commented 6 years ago

beluga falls into infinite recursion with

#define paste(q, r) q ## r
#define foobar paste(foo, bar)

foobar

because fails to paint tokens from ## in blue.