diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-09-29 17:54:32 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-09-30 21:49:16 +0200 |
commit | 2eddcd9b65b7baf70dd3cc5a0b02cf0076c75560 (patch) | |
tree | 7abf7457b8d43c57010f36f3f4de9a4e8c69bcd0 /testsuite/.gitignore | |
parent | 78053f449d47a90c977ec3a893524f2cdb5d33f9 (diff) | |
download | haskell-2eddcd9b65b7baf70dd3cc5a0b02cf0076c75560.tar.gz |
Lexer: delete dead code for binary character literals
The Haskell 2010 report chapter 2.6 (Characters and String Literals)
says:
"Numeric escapes such as \137 are used to designate the character with
decimal representation 137; octal (e.g. \o137) and hexadecimal (e.g.
\x37) representations are also allowed."
Commit 1c0b5fdc9f2b6ea8166cc565383d4cd20432343c added syntax for writing
character literals using binary notation (e.g. '\b100100'). But this
code can never be reached, because '\b' already represents "backspace".
Turn on -fwarn-overlapping-patterns to catch such bugs in the future.
Reviewed by: hvr
Differential Revision: https://phabricator.haskell.org/D1291
Diffstat (limited to 'testsuite/.gitignore')
0 files changed, 0 insertions, 0 deletions