-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEGTL: avoiding mmap on Windows until we upgrade to PEGTL v3
because PEGTL v2 API doesn't support Unicode filenames (and also, including <windows.h> has side-effects)
- Loading branch information
Showing
3 changed files
with
7 additions
and
230 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
This directory contains files from PEGTL 2.8.3: | ||
LICENSE and include/tao/* except include/tao/pegtl/contrib | ||
with minor local modifications (in position.hpp and input_error.hpp): | ||
LICENSE and include/tao/pegtl* except contrib/ and file_mapper_win32.hpp | ||
with minor modifications (in position.hpp, input_error.hpp, file_input.hpp): | ||
- changed formatting of error messages, | ||
- using std::system_error instead of pegtl::input_error. | ||
- avoiding mmap on Windows (until we upgrade to PEGTL v3), | ||
because PEGTL v2 API doesn't support Unicode filenames | ||
(and also, including <windows.h> has side-effects) | ||
|
||
PEGTL can be updated to v3 only when gemmi drops support for C++11/14. | ||
https://github.com/project-gemmi/gemmi/issues/212 |
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
226 changes: 0 additions & 226 deletions
226
include/gemmi/third_party/tao/pegtl/internal/file_mapper_win32.hpp
This file was deleted.
Oops, something went wrong.