https://issues.dlang.org/show_bug.cgi?id=23430

          Issue ID: 23430
           Summary: ImportC include <> didn't work but quotes does
           Product: D
           Version: D2
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: alphaglosi...@gmail.com

Filing on behalf:

Parser generated by tree-sitter project (D grammar).

```
parser.c:1:10: error: 'tree_sitter/parser.h' file not found with <angled>
include; use "quotes" instead
#include <tree_sitter/parser.h>
         ^~~~~~~~~~~~~~~~~~~~~~
         "tree_sitter/parser.h"
```

dmd v2.101.0-beta

``dmd p.d -main``

```
module p;

import parser;
```

Directory structure:

```
scanner.c
tree_sitter/parser.h
parser.c
p.d
```

It does compile and link when switch to quotes instead of the brackets.

--

Reply via email to