Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Improve lexer.
Browse files Browse the repository at this point in the history
  • Loading branch information
rikvdkleij committed Mar 30, 2020
1 parent 56e6b4c commit 1e06a1b
Show file tree
Hide file tree
Showing 2 changed files with 429 additions and 457 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/intellij/haskell/_HaskellLexer.flex
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ nhaddock_start = {left_brace}{dash}{white_char}?{vertical_bar}
{hash} { return HS_HASH; }
{white_space} { return com.intellij.psi.TokenType.WHITE_SPACE; }

([\-a-zA-Z0-9_=\(\):<>*/\|\'\!\?\.+\^&%$#@\[\];,~\\`\"\{\}]|[\u2200-\u22FF]) + {
([a-zA-Z0-9_=\(\):<>*/\|\'\!\?\.+\^&%$@\[\];,~\\`\"\{\}]|[\u2200-\u22FF]) + {
return HS_ONE_PRAGMA;
}

Expand Down
Loading

0 comments on commit 1e06a1b

Please sign in to comment.