Preprocessor: Allow '\' as a token, which gets actual use in #error, but should have no other use.
This is just for '\' that's not before a new line. Note the specification says it has no use other than as line continuation, but #error is a grey area. (There are no escape sequences.)
This commit is contained in:
@@ -326,6 +326,17 @@ int aoeua = FOOOM;
|
||||
#if FOOOM
|
||||
#endif
|
||||
|
||||
#line 9500
|
||||
#if\376
|
||||
#endif
|
||||
#if \376
|
||||
#endif
|
||||
#if \377
|
||||
#endif
|
||||
#error\377
|
||||
#error \ 376
|
||||
#error \377
|
||||
|
||||
#line 10000
|
||||
#if 1
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user