Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: exception Earley_ocaml.Pa_lexing.Unclosed_comment(1, _, 34) #4

Open
amelieled opened this issue Apr 30, 2020 · 0 comments

Comments

@amelieled
Copy link

amelieled commented Apr 30, 2020

Recently, I obtained this error:

    pa_ocaml src/core/parser.pp.ml (exit 2)
(cd _build/default && ~/.opam/default/bin/pa_ocaml src/core/parser.ml) > _build/default/src/core/parser.pp.ml
Fatal error: exception Earley_ocaml.Pa_lexing.Unclosed_comment(1, _, 34)
make: *** [GNUmakefile:10: bin] Error 1

The error is due to this comment line:

  (*| e:exposition? _inductive_ i:ident s:{":" sort}? "≔"  
                   "|"? ifirst:ident al:arg* ":" term
               c:{ "|"       _:ident al:arg* ":" term }*
      -> P_inductive*)

But the problem is deleted if I remove the first "{", like this:

  (*| e:exposition? _inductive_ i:ident s:":" sort}? "≔" 
                   "|"? ifirst:ident al:arg* ":" term
               c:{ "|"       _:ident al:arg* ":" term }*
      -> P_inductive*)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant