February 22, 2022 [Issue 22814] ImportC: C11 lexer deletes escaped new lines during translation | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22814 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ImportC, rejects-valid CC| |ibuclaw@gdcproject.org -- | ||||
February 28, 2022 [Issue 22814] ImportC: C11 lexer deletes escaped new lines during translation | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22814 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution|--- |INVALID --- Comment #1 from Walter Bright <bugzilla@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply