add some comments.

llvm-svn: 43079
This commit is contained in:
Chris Lattner 2007-10-17 18:28:59 +00:00
parent d0806a0508
commit caecf03215
2 changed files with 3 additions and 1 deletions

View File

@ -139,6 +139,8 @@ public:
LexingRawMode = true;
Lex(Result);
LexingRawMode = false;
// Note that lexing to the end of the buffer doesn't implicitly delete the
// lexer when in raw mode.
return BufferPtr == BufferEnd;
}

View File

@ -33,7 +33,7 @@ class TargetInfo;
class PPCallbacks;
class DirectoryLookup;
/// Preprocessor - This object forms engages in a tight little dance to
/// Preprocessor - This object engages in a tight little dance with the lexer to
/// efficiently preprocess tokens. Lexers know only about tokens within a
/// single source file, and don't know anything about preprocessor-level issues
/// like the #include stack, token expansion, etc.