Skip to content

Commit d4b241c

Browse files
committed
new .d file parser for C compilation
- wip for #2046 - clang .d output must be created with `clang -MV` switch - implemented in Zig - hybridized for zig stage0 and stage1 - zig test src-self-hosted/dep_tokenizer.zig
1 parent f68d806 commit d4b241c

File tree

6 files changed

+1231
-55
lines changed

6 files changed

+1231
-55
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6726,6 +6726,7 @@ add_custom_command(
67266726
"-Doutput-dir=${CMAKE_BINARY_DIR}"
67276727
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
67286728
DEPENDS
6729+
"${CMAKE_SOURCE_DIR}/src-self-hosted/dep_tokenizer.zig"
67296730
"${CMAKE_SOURCE_DIR}/src-self-hosted/stage1.zig"
67306731
"${CMAKE_SOURCE_DIR}/src-self-hosted/translate_c.zig"
67316732
"${CMAKE_SOURCE_DIR}/build.zig"

0 commit comments

Comments
 (0)