Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong error message for an unknown label referenced in a comment #146

Closed
tirix opened this issue Oct 19, 2023 · 0 comments
Closed

Wrong error message for an unknown label referenced in a comment #146

tirix opened this issue Oct 19, 2023 · 0 comments

Comments

@tirix
Copy link
Collaborator

tirix commented Oct 19, 2023

Metamath-knife complains about an "undeclared token in $v or $c statement" in case an unknown label is referenced in a comment:

Run metamath-knife/target/release/metamath-knife --verify \
warning: Undeclared token 'swrdccatin12lem3'
      --> ./set.mm:1[5](https://github.com/metamath/set.mm/actions/runs/6571260854/job/17850078984?pr=3577#step:6:6)0830:42
       |
150830 |     $( Lemma for ~ pfxccatin12lem2 and ~ swrdccatin12lem3 .  (Contributed by
       |                                          ---------------- This token was not declared in any $v or $c statement
       |
1 diagnostics issued.
Error: Process completed with exit code 1.

Metamath-exe has a better wording:

?Warning: The label token "swrdccatin12lem3" (referenced in comment of
statement "pfxccatin12lem2c") is not a $a or $p statement label.
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

No branches or pull requests

1 participant