parser: Allow Lm (MODIFIER LETTER) category in identifiers
Easy fix in the parser to stop regressions, due to Unicode 7.0 changing the classification of some prior code points. Signed-off-by:Austin Seipp <austin@well-typed.com> Test Plan: `tests/parser/should_compile/T10196.hs` Reviewers: hvr, austin, bgamari Reviewed By: austin, bgamari Subscribers: thomie, bgamari Differential Revision: https://phabricator.haskell.org/D969 GHC Trac Issues: #10196
Showing
- compiler/basicTypes/Lexeme.hs 10 additions, 1 deletioncompiler/basicTypes/Lexeme.hs
- compiler/parser/Lexer.x 6 additions, 2 deletionscompiler/parser/Lexer.x
- compiler/utils/Util.hs 14 additions, 0 deletionscompiler/utils/Util.hs
- testsuite/tests/parser/should_compile/T10196.hs 13 additions, 0 deletionstestsuite/tests/parser/should_compile/T10196.hs
- testsuite/tests/parser/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/parser/should_compile/all.T
- testsuite/tests/parser/should_fail/T10196Fail1.hs 4 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail1.hs
- testsuite/tests/parser/should_fail/T10196Fail1.stderr 2 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail1.stderr
- testsuite/tests/parser/should_fail/T10196Fail2.hs 4 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail2.hs
- testsuite/tests/parser/should_fail/T10196Fail2.stderr 2 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail2.stderr
- testsuite/tests/parser/should_fail/T10196Fail3.hs 6 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail3.hs
- testsuite/tests/parser/should_fail/T10196Fail3.stderr 2 additions, 0 deletionstestsuite/tests/parser/should_fail/T10196Fail3.stderr
- testsuite/tests/parser/should_fail/all.T 3 additions, 0 deletionstestsuite/tests/parser/should_fail/all.T
Loading
Please register or sign in to comment