Fixed dune file.

This commit is contained in:
Christian Rinderknecht 2020-03-24 18:52:00 +01:00
parent 8ce6d00d06
commit 9b6b13cda3
2 changed files with 26 additions and 12 deletions

View File

@ -4,7 +4,7 @@
(* START OF HEADER *) (* START OF HEADER *)
module Region = Simple_utils.Region module Region = Simple_utils.Region
(*module Pos = Simple_utils.Pos*) module Pos = Simple_utils.Pos
let sprintf = Printf.sprintf let sprintf = Printf.sprintf

36
vendors/Preproc/dune vendored
View File

@ -1,23 +1,37 @@
(ocamllex E_Lexer Preproc) (ocamllex
E_Lexer Preproc)
(menhir (menhir
(modules E_Parser)) (modules E_Parser))
(library (library
(name PreProc) (name Preproc)
(public_name ligo.preproc) (public_name ligo.preproc)
(libraries (libraries
getopt getopt
simple-utils) simple-utils)
(wrapped false) (wrapped false)
(modules E_Parser E_Lexer E_AST Preproc)) (modules EvalOpt E_Parser E_Lexer E_AST Preproc)
(preprocess
(pps bisect_ppx --conditional)))
(test (executable
(modules ProcMain) (name PreprocMain)
(libraries PreProc) (modules PreprocMain)
(name ProcMain)) (libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))
(test (executable
(modules E_Main) (name E_LexerMain)
(libraries PreProc) (modules E_LexerMain)
(name E_Main)) (libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))
(executable
(name E_ParserMain)
(modules E_ParserMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))