mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 18:48:14 +02:00
To do this correctly, we change the lexer to lex integers as string values, (new token type of INTEGER_STRING), and only convert to integer values when evaluating an expression value. Add a new test case for this, (which does pass now).
4 lines
70 B
C
4 lines
70 B
C
#define paste(x,y) x ## y
|
|
paste(1,2)
|
|
paste(1,000)
|
|
paste(identifier,2)
|