You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which means that $ocamllex in jscomp/test/build.ninja is undefined. As a result when rule mll that makes use of $ocamllex tries to run, it instead ends up trying to execute the .mll files instead of running ocamllex.
rule mll
command = $ocamllex $in
generator = true
o test/arith_lexer.ml : mll test/arith_lexer.mll
o test/number_lexer.ml : mll test/number_lexer.mll
o test/simple_lexer_test.ml : mll test/simple_lexer_test.mll
I was able to fix this by updating ninja.js to include a line in jscomp/build.ninja that sets:
ocamllex = ocamllex.opt
I'm not familiar with the ninja build system so I'm not sure if this is the right fix. If it is, let me know and I can submit a PR with my change.
The text was updated successfully, but these errors were encountered:
I get the following output when running
./scripts/ninja.js build
(after running the other steps in CONTRIBUTING.md):The contents of jscomp/build.ninja is
which means that
$ocamllex
in jscomp/test/build.ninja is undefined. As a result whenrule mll
that makes use of$ocamllex
tries to run, it instead ends up trying to execute the .mll files instead of runningocamllex
.I was able to fix this by updating ninja.js to include a line in jscomp/build.ninja that sets:
I'm not familiar with the ninja build system so I'm not sure if this is the right fix. If it is, let me know and I can submit a PR with my change.
The text was updated successfully, but these errors were encountered: