Skip to content

Allow underscores in hex strings.#7374

Merged
chriseth merged 1 commit intodevelop_060from
hexStringUnderscores
Sep 9, 2019
Merged

Allow underscores in hex strings.#7374
chriseth merged 1 commit intodevelop_060from
hexStringUnderscores

Conversation

@ekpyron
Copy link
Copy Markdown
Collaborator

@ekpyron ekpyron commented Sep 6, 2019

Fixes #7290

}
}
// ----
// ParserError: (52-56): Expected even number of hex-nibbles within double-quotes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This error message is misleading - the number of nibbles is even.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Better now? It wasn't triggered on missing quotes anyways... and that part was actually even wrong, since single quotes are valid as well...

@ekpyron ekpyron force-pushed the hexStringUnderscores branch from e55b89f to 2373001 Compare September 6, 2019 14:20
@leonardoalt
Copy link
Copy Markdown

Test failing

@ekpyron
Copy link
Copy Markdown
Collaborator Author

ekpyron commented Sep 6, 2019

Test failing

That's a lie :-).

EDIT: [maybe we should really disable the solhint test to avoid this kind of confusion]

@ekpyron ekpyron force-pushed the hexStringUnderscores branch from 2373001 to 8e913eb Compare September 6, 2019 15:50
@ekpyron ekpyron requested a review from chriseth September 6, 2019 15:50
@ekpyron ekpyron force-pushed the hexStringUnderscores branch 3 times, most recently from 8e913eb to 39325b8 Compare September 6, 2019 15:58
@ekpyron ekpyron force-pushed the hexStringUnderscores branch from 39325b8 to 6f3341a Compare September 6, 2019 15:58
@chriseth chriseth merged commit a272506 into develop_060 Sep 9, 2019
@chriseth chriseth deleted the hexStringUnderscores branch September 9, 2019 09:48
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

Successfully merging this pull request may close these issues.

3 participants