-
Notifications
You must be signed in to change notification settings - Fork 35
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
Allow redundant verbs in a single Verb directive #296
Comments
Puny is fixing this with an
|
As I see it, a check if the returned dictword is a synonym to an already procesed dictword it could be ignored in the while-loop in
It's easy to check against the previous dictword, but I would like to check the whole line for synonyms. How do one do that? In a language with a heap and GC I would have stored all returned values in a hash-collection and check against this collection if the dictword is a synonym, but in C/C++? |
Just gotta compare against every item in the list: |
One suggestion:
But I think that this is a case where it's justified to use
|
PunyInform has the line
This now throws an error in v3 because the verbs collide:
If it were on two lines, it would only be a warning:
(If you use "Extend last" then there's no warning at all, but you get a redundant line in the grammar table.)
Arguably the single-line form should be accepted without even a warning. Just ignore the redundant verb word.
The text was updated successfully, but these errors were encountered: