Skip to content

Fix #522: PG does not ignore comments in _CoqProject file. - #879

Closed
Matafou wants to merge 1 commit into
ProofGeneral:masterfrom
Matafou:fix-projectfile-comment
Closed

Fix #522: PG does not ignore comments in _CoqProject file.#879
Matafou wants to merge 1 commit into
ProofGeneral:masterfrom
Matafou:fix-projectfile-comment

Conversation

@Matafou

@Matafou Matafou commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Remove Lines starting with # are now ignored when reading a project file.

cpitclaudel added a commit that referenced this pull request Jul 31, 2026
This is an attempt to follow lib/coqProject_file.ml instead of doing our own
parsing:

- # starts a comment line;
- Single quotes toggle quoting and get stripped;
- `\` isn't an escape character, so `-arg "-w \"a b\""` (which we used to
  accept) now needs to be written `-arg "-w 'a b'"`.

Fixes #113, #392, #522, #589.  Closes #879.
cpitclaudel added a commit that referenced this pull request Jul 31, 2026
This is an attempt to follow `lib/coqProject_file.ml` instead of doing our own
parsing:

- `#` starts a comment line;
- Single quotes toggle quoting and get stripped;
- `\` isn't an escape character, so `-arg "-w \"a b\""` (which we used to
  accept) now needs to be written `-arg "-w 'a b'"`.

Fixes #113, #392, #522, #589.  Closes #879.
@Matafou Matafou closed this Jul 31, 2026
@Matafou

Matafou commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Susbsumed by #880.

cpitclaudel added a commit that referenced this pull request Aug 1, 2026
This is an attempt to follow `lib/coqProject_file.ml` instead of doing our own
parsing:

- `#` starts a comment line;
- Single quotes toggle quoting and get stripped;
- `\` isn't an escape character, so `-arg "-w \"a b\""` (which we used to
  accept) now needs to be written `-arg "-w 'a b'"`.

Fixes #113, #392, #522, #589.  Closes #879.
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

Successfully merging this pull request may close these issues.

1 participant