D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22853 - importC: Lexer allows nesting block comments
Summary: importC: Lexer allows nesting block comments
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: accepts-invalid, ImportC, pull
Depends on:
Blocks:
 
Reported: 2022-03-06 21:15 UTC by Iain Buclaw
Modified: 2022-03-08 16:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2022-03-06 21:15:38 UTC
C11 only recognizes line, or block comments.
Comment 1 Dlang Bot 2022-03-06 21:51:18 UTC
@ibuclaw created dlang/dmd pull request #13774 "fix Issue 22853 - importC: Lexer allows nesting block comments" fixing this issue:

- fix Issue 22853 - importC: Lexer allows nesting block comments

https://github.com/dlang/dmd/pull/13774
Comment 2 Dlang Bot 2022-03-07 13:42:55 UTC
dlang/dmd pull request #13774 "fix Issue 22853 - importC: Lexer allows nesting block comments" was merged into stable:

- 2d9e3d8b0542e5a81bfb5ba6f5f2aa5a5c0bff8f by Iain Buclaw:
  fix Issue 22853 - importC: Lexer allows nesting block comments

https://github.com/dlang/dmd/pull/13774
Comment 3 Dlang Bot 2022-03-08 16:27:15 UTC
dlang/dmd pull request #13785 "merge stable" was merged into master:

- 763f608f9f15ef280313c868af4fbf860f567bda by Iain Buclaw:
  fix Issue 22853 - importC: Lexer allows nesting block comments

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