diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-18 14:58:19 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-18 14:58:19 -0400 |
| commit | 63affe6d2466b622890f34b6ca562ea5ecc98f65 (patch) | |
| tree | 0b168f6c82a8b485e52b44b49605ff7d40e4b124 /parse.c | |
| parent | 693caebcfbe47fa8a7d7bf725e2ed1c082eeb7a5 (diff) | |
Support `use "foo.h"`
Diffstat (limited to 'parse.c')
| -rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2356,7 +2356,7 @@ PARSER(parse_use) { pos += name_len; while (match(&pos, ";")) continue; int what; - if (name[0] == '<') + if (name[0] == '<' || name[0] == '"') what = USE_HEADER; else if (starts_with(name, "./") || starts_with(name, "/") || starts_with(name, "../") || starts_with(name, "~/")) what = USE_LOCAL; |
