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

[SH] remove rogue 'Otherwise' from string parser #678

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

phluid61
Copy link
Collaborator

@phluid61 phluid61 commented Aug 3, 2018

No description provided.

@@ -663,7 +663,7 @@ Given an ASCII string input_string, return an unquoted string. input_string is m
3. Else, if char is DQUOTE, return output_string.
4. Else, if char is in the range %x00-1f or %x7f (i.e., is not in VCHAR or SP), fail parsing.
4. Else, append char to output_string.
6. Otherwise, fail parsing.
6. Unterminated string; fail parsing.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe make this a tiny bit less terse -- e.g., "Fail parsing (due to the string being unterminated)."?

@phluid61
Copy link
Collaborator Author

How's that? It looks kind of like the equivalent case in Parse Dict/Parse List, but more descriptive than it was.

@mnot mnot merged commit 4efefe2 into httpwg:master Aug 13, 2018
@phluid61 phluid61 deleted the unnecessary-otherwise branch August 14, 2018 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants