-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not try flatparse scanner for .md files (#2934)
- In #2925, the flatparse scanner always fails for .md files and silently falls back to megaparsec. - In #2929, a warning is introduced that informs the user when the fallback parser is being used. This is causing a warning every time we scan a markdown file. - This pr fixes the problem by changing the default strategy to directly use megaparsec when a .md file is given.
- Loading branch information
1 parent
e2fe830
commit 69b5916
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters