Repository navigation
fix(sv): reject pragmas without a name - #2061
Merged
mergify[bot] merged 1 commit intoOct 25, 2026
Merged
mergify[bot] merged 1 commit into
mergify[bot] merged 1 commit into
Conversation
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Merge Queue Status
This pull request spent 24 minutes 11 seconds in the queue, with no time running CI. ReasonThe pull request #2061 has been manually updated Waiting for
All conditions
Requeued — the merge queue status continues in this comment ↓. |
Base automatically changed from
stack/tignear/fix/sv-tests-preprocessing/execute-preprocessing-cases-instead-skipping-them--ddf52734
to
master
October 25, 2026 19:17
This was referenced Oct 25, 2026
A bare `pragma was accepted by preprocessing even though IEEE 1800-2023 22.11 (Syntax 22-8) requires a pragma name. Reject active pragma directives whose line contains only whitespace or comments. Preserve named unknown pragmas and inactive conditional branches. Cover EOF, whitespace, comments, a following module, inactive branches, and error propagation through public preprocessing and parsing APIs. The official sv-tests pragma-invalid case now passes in both state modes because it receives the intended diagnostic. Update only its two expectation rows; all 90 preprocessing cases now pass in each mode. Validation: celox-sv-syntax tests (126 passed), analyzer syntax tests (7 passed), Clippy for both crates with all targets and warnings denied, formatting and diff checks, and the official pragma-invalid case in both state modes with the release sv_tests driver. Change-Id: I0046a3ff7118b6fbf823c326ede552932d3af5a0
tignear
force-pushed
the
stack/tignear/fix/sv-tests-preprocessing/reject-pragmas-without-name--0046a3ff
branch
from
October 25, 2026 19:36
a3f46bb to
a1ce744
Compare
Contributor
Author
Revision history
|
Contributor
Merge Queue Status
This pull request spent 33 minutes 24 seconds in the queue, including 31 minutes 55 seconds running CI. Required conditions to merge
|
43 of 73 tasks
This was referenced Oct 25, 2026
mergify
Bot
deleted the
stack/tignear/fix/sv-tests-preprocessing/reject-pragmas-without-name--0046a3ff
branch
October 25, 2026 20:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A bare `pragma was accepted by preprocessing even though IEEE 1800-2023
22.11 (Syntax 22-8) requires a pragma name. Reject active pragma directives
whose line contains only whitespace or comments. Preserve named unknown
pragmas and inactive conditional branches.
Cover EOF, whitespace, comments, a following module, inactive branches, and
error propagation through public preprocessing and parsing APIs. The official
sv-tests pragma-invalid case now passes in both state modes because it receives
the intended diagnostic. Update only its two expectation rows; all 90
preprocessing cases now pass in each mode.
Validation: celox-sv-syntax tests (126 passed), analyzer syntax tests (7 passed),
Clippy for both crates with all targets and warnings denied, formatting and
diff checks, and the official pragma-invalid case in both state modes with the
release sv_tests driver.