summaryrefslogtreecommitdiff
path: root/testsuite/.gitignore
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-09-01 15:11:50 -0500
committerAustin Seipp <austin@well-typed.com>2014-09-01 15:11:50 -0500
commit9e939403241b758a685834c9ff62edcd3172a2cf (patch)
treed59a43de3ff5440685c3961fb3abd145ff7fafc9 /testsuite/.gitignore
parente81e02807c7a0e723ed7b0e83418c95f99140449 (diff)
downloadhaskell-9e939403241b758a685834c9ff62edcd3172a2cf.tar.gz
StringBuffer should not contain initial byte-order mark (BOM)
Summary: Just skipping over a BOM, but leaving it in the Stringbuffer, is not sufficient. The Lexer calls prevChar when a regular expression starts with '^' (which is a shorthand for '\n^'). It would never match on the first line, since instead of '\n', prevChar would still return '\xfeff'. Test Plan: validate Reviewers: austin, ezyang Reviewed By: austin, ezyang Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D176 GHC Trac Issues: #6016
Diffstat (limited to 'testsuite/.gitignore')
-rw-r--r--testsuite/.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/.gitignore b/testsuite/.gitignore
index 591545cdc3..4f8ac870e6 100644
--- a/testsuite/.gitignore
+++ b/testsuite/.gitignore
@@ -1074,6 +1074,8 @@ mk/ghcconfig_*_inplace_bin_ghc-stage2.exe.mk
/tests/parser/should_run/readRun004
/tests/parser/unicode/1744
/tests/parser/unicode/T1744
+/tests/parser/unicode/T6016
+/tests/parser/unicode/T6016-twoBOMs
/tests/parser/unicode/utf8_024
/tests/patsyn/should_run/bidir-explicit
/tests/patsyn/should_run/bidir-explicit-scope