This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,2 @@
(executable
(name pp))

View file

@ -0,0 +1,25 @@
$ ocamlc_where="$(ocamlc -where)"
$ export BUILD_PATH_PREFIX_MAP="/OCAMLC_WHERE=$ocamlc_where:$BUILD_PATH_PREFIX_MAP"
$ dune build
$ dune ocaml dump-dot-merlin src\ with\ spaces
EXCLUDE_QUERY_DIR
STDLIB /OCAMLC_WHERE
SOURCE_ROOT $TESTCASE_ROOT
B $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/byte
S $TESTCASE_ROOT/src with spaces
INDEX $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/cctx.ocaml-index
INDEX $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/cctx.ocaml-index
# FLG -pp ''\''$TESTCASE_ROOT/_build/default/p p/pp.exe'\'''
# FLG -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g
$ dune ocaml dump-dot-merlin "p p"
EXCLUDE_QUERY_DIR
STDLIB /OCAMLC_WHERE
SOURCE_ROOT $TESTCASE_ROOT
B $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/byte
S $TESTCASE_ROOT/p p
INDEX $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/cctx.ocaml-index
INDEX $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/cctx.ocaml-index
# FLG -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g

View file

@ -0,0 +1,3 @@
(executables (names foo bar)
(preprocess (per_module
((action (run "p p/pp.exe"%{input-file})) bar))))