diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-20 16:59:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-20 16:59:19 +0000 |
commit | d217773f106856a11879ec79dc468efefaf2ee75 (patch) | |
tree | b287f41254ad8f377f504fc9645404a7772084d0 /Parse/ParseDecl.cpp | |
parent | 25bdb51276d3bfc180a68688082071505a00ed27 (diff) |
At one point there were going to be lexer and parser tokens.
Since that point is now long gone, we should rename LexerToken to
Token, as it is the only kind of token we have.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/ParseDecl.cpp')
-rw-r--r-- | Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp index 02a79e68e5..c40e749659 100644 --- a/Parse/ParseDecl.cpp +++ b/Parse/ParseDecl.cpp @@ -1349,7 +1349,7 @@ void Parser::ParseBracketDeclarator(Declarator &D) { ExprResult NumElements(false); if (Tok.getKind() == tok::star) { // Remember the '*' token, in case we have to un-get it. - LexerToken StarTok = Tok; + Token StarTok = Tok; ConsumeToken(); // Check that the ']' token is present to avoid incorrectly parsing |