Add test for (ocamllex (..)) form in jbuild
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
da3def9dc7
commit
20f9b2cf0a
|
@ -0,0 +1,8 @@
|
||||||
|
{}
|
||||||
|
|
||||||
|
rule f = parse
|
||||||
|
| _ { () }
|
||||||
|
|
||||||
|
{
|
||||||
|
print_endline "bar"
|
||||||
|
}
|
|
@ -1,5 +1,7 @@
|
||||||
(ocamllex
|
(ocamllex
|
||||||
((modules (foo))))
|
((modules (foo))))
|
||||||
|
|
||||||
|
(ocamllex (bar))
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
((name foo)))
|
((name foo)))
|
||||||
|
|
Loading…
Reference in New Issue