Fixed the [dune] files to build ParserMain.exe

This commit is contained in:
Christian Rinderknecht 2019-12-24 14:25:40 +01:00
parent b0e92a58bf
commit ce857fbe40
3 changed files with 29 additions and 28 deletions

View File

@ -2,13 +2,15 @@
(menhir
(merge_into Parser)
(modules ParToken Parser)
(modules
ParToken Parser)
(flags -la 1 --table --strict --explain --external-tokens LexToken))
(library
(name parser_cameligo)
(public_name ligo.parser.cameligo)
(modules AST cameligo Parser ParserLog LexToken)
(modules
AST cameligo Parser ParserLog LexToken)
(libraries
menhirLib
parser_shared
@ -31,6 +33,7 @@
(libraries
parser_cameligo)
(modules
ParErr
ParserAPI
ParserMain)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))

View File

@ -20,19 +20,15 @@
(executable
(name LexerMain)
(libraries
hex
simple-utils
tezos-utils
parser_pascaligo)
(modules
LexerMain)
hex simple-utils tezos-utils parser_pascaligo)
(modules LexerMain)
(flags (:standard -open Parser_shared -open Parser_pascaligo)))
(executable
(name ParserMain)
(libraries
parser_pascaligo)
(modules ParserMain)
(libraries parser_pascaligo)
(modules
ParErr ParserAPI ParserMain)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_pascaligo)))
(executable

View File

@ -8,7 +8,8 @@
(library
(name parser_reasonligo)
(public_name ligo.parser.reasonligo)
(modules SyntaxError reasonligo LexToken Parser)
(modules
SyntaxError reasonligo LexToken Parser)
(libraries
menhirLib
parser_shared
@ -33,6 +34,7 @@
parser_reasonligo
parser_cameligo)
(modules
ParErr
ParserAPI
ParserMain)
(flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo)))