Skip to content

Conversation

silene
Copy link
Contributor

@silene silene commented Aug 10, 2025

Fixes / closes #20984

@silene silene added this to the 9.2+rc1 milestone Aug 10, 2025
@silene silene requested a review from a team as a code owner August 10, 2025 07:54
@silene silene added kind: fix This fixes a bug or incorrect documentation. part: coqdep The coqdep binary for resolving dependencies amongst coq .v files. request: full CI Use this label when you want your next push to trigger a full CI. labels Aug 10, 2025
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Aug 10, 2025
@SkySkimmer
Copy link
Contributor

This change seems incorrect on eg Require Import(hints) foo

@coqbot-app coqbot-app bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label Aug 12, 2025
{ require_file from lexbuf }
| "Export" space*
{ require_file from lexbuf }
| ("Import" | "Export") space* ("-" space*)? ((space | "(") as p)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all those space* should be able to tolerate comments too (comments between - and ( were already bugged before this PR, but I think something like Require Import (* hints cause TC loop *) -(hints) foo would work before this PR)

@SkySkimmer SkySkimmer added needs: fixing The proposed code change is broken. and removed needs: fixing The proposed code change is broken. labels Sep 1, 2025
@SkySkimmer SkySkimmer requested a review from a team September 1, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: fix This fixes a bug or incorrect documentation. needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. part: coqdep The coqdep binary for resolving dependencies amongst coq .v files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coqdep should parse .v files correctly (fails to distinguish between Require Import ed and Require Imported
2 participants