[Issue 22814] ImportC: C11 lexer deletes escaped new lines during translation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 28 07:29:33 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22814
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution|--- |INVALID
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Backslash line splicing is done by the preprocessor, not the C compiler. (Try
it, run the example code through cpp.)
So the ImportC lexer should never see the \, and this is not a bug in ImportC.
--
More information about the Digitalmars-d-bugs
mailing list