PG icon indicating copy to clipboard operation
PG copied to clipboard

PG accepts `}.` but `coqc` doesn't

Open samuelgruetter opened this issue 4 years ago • 1 comments

I can step through the following file in proof general without getting any errors:

Goal True /\ True.
Proof.
  split.
  { exact I. }.
  { exact I. }.
Qed.

However, when I try to compile it with coqc, I get

File "./PG_close_brace_dot.v", line 4, characters 14-15:
Error: Syntax error: illegal begin of vernac.

This breaks the invariant that PG should accept a file iff coqc accepts it.

Coq version: 8.13.2 PG version: master (bc86736abb728ec0d28abc90ef0adae21d29a66a)

samuelgruetter avatar Aug 03 '21 17:08 samuelgruetter

Well spotted. Will try to fix this during summer.

Matafou avatar Aug 04 '21 07:08 Matafou

Duplicate of #357.

Matafou avatar Apr 03 '24 19:04 Matafou