Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (or just change?) how we report comments vs newlines.
Multi-line comments now swallow internal newlines and don't insert a fake one in the token stream, so this works like GNU cpp now: #if /* */1 This should be included by the preprocessor, believe it or not. #endif Single-line comments no longer swallow their terminating endline, which makes this case work: #if BLAH // The preprocessor expects a newline token here. #endif
- Loading branch information
Showing
2 changed files
with
6 additions
and
10 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