-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add ability to compile from stdin (#1327)
* Implement ability to compile directly from stdin * Add doc comment to process_cpp2 function * Move choice between file or stdin to source.load() * Add a little comment above source loading decision * Don't file-open `stdin` * Fixed logic, and added default to stdout if stdin is used Also: - re-ran self-build and regression tests - suppressed non-error output when stdout is used, so piping is easier --------- Co-authored-by: Herb Sutter <[email protected]>
- Loading branch information
Showing
4 changed files
with
32 additions
and
11 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
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