diff options
| author | Pierre Roux | 2019-03-24 22:06:44 +0100 |
|---|---|---|
| committer | Pierre Roux | 2019-03-31 23:17:55 +0200 |
| commit | ef6c99e0e2e55b9fe316cc14663df161ebf4a21e (patch) | |
| tree | 65bed8734239c26a312deebb76b47cb2fc761f06 /dev/ci/ci-iris-lambda-rust.sh | |
| parent | eadb00648127c9a535b533d51189dce41ef16db7 (diff) | |
Improve coqpp error message for SELF in anonymous entry
Something like "("; [ s = SELF -> { s } ]; ")" in a GRAMMAR EXTEND in
a mlg file was causing an error message such as
OCAMLOPT f.ml
File "f.mlg", line 179, characters 55-67: # not in a semantic rule so line doesn't match anything in the mlg file
Error: This expression has type ('a, Extend.mayrec, 'a) Extend.symbol
but an expression was expected of type
('a, Extend.norec, 'b) Extend.symbol
Type Extend.mayrec is not compatible with type Extend.norec
It is now
COQPP f.mlg
Error: 'SELF' or 'NEXT' illegal in anonymous entry level
Diffstat (limited to 'dev/ci/ci-iris-lambda-rust.sh')
0 files changed, 0 insertions, 0 deletions
