Issue 23792 - lexer warns about preprocessor inside token strings
Summary: lexer warns about preprocessor inside token strings
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P4 minor
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2023-03-18 10:37 UTC by Dennis
Modified: 2023-04-01 22:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Dennis 2023-03-18 10:37:56 UTC
See https://forum.dlang.org/post/vqydbhpzbcqbaxfiixax@forum.dlang.org

```
enum s = q{
#include <test>
};
```

> Warning: C preprocessor directive #include is not supported
Comment 1 Dlang Bot 2023-03-18 10:39:17 UTC
@dkorpel created dlang/dmd pull request #15001 "Fix 23792 - lexer warns about preprocessor inside token strings" fixing this issue:

- Fix 23792 - lexer warns about preprocessor inside token strings

https://github.com/dlang/dmd/pull/15001
Comment 2 Dlang Bot 2023-03-18 11:57:39 UTC
dlang/dmd pull request #15001 "Fix 23792 - lexer warns about preprocessor inside token strings" was merged into stable:

- 8e6bc8df1a287d2ce21c94f785ffb247dc58fcf6 by Dennis Korpel:
  Fix 23792 - lexer warns about preprocessor inside token strings

https://github.com/dlang/dmd/pull/15001
Comment 3 Dlang Bot 2023-04-01 22:15:15 UTC
dlang/dmd pull request #15066 "merge stable" was merged into master:

- 29be864b047bba4f8f963b1e0ad771fc0977e932 by Dennis Korpel:
  Fix 23792 - lexer warns about preprocessor inside token strings

https://github.com/dlang/dmd/pull/15066