commit | c54ceb3067db1913e0837f0e1bec17851a61faee | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jan 27 05:34:03 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jan 27 05:34:03 2009 +0000 |
tree | 1f3d795e1ad6a3e3be8d94ed8f08c3c6c7a9dc7f | |
parent | 66284fdcc3076f74b2ca0fe539f293204fc12727 [diff] |
Fix a bug that I noticed by inspection. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63094 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp index 4bf012c..d277ec9 100644 --- a/lib/Lex/PPDirectives.cpp +++ b/lib/Lex/PPDirectives.cpp
@@ -219,6 +219,7 @@ } memcpy(Directive, &DirectiveStr[0], IdLen); Directive[IdLen] = 0; + FirstChar = Directive[0]; } if (FirstChar == 'i' && Directive[1] == 'f') {