aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/scripts/generator/cpp/ast.py
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-02-09 11:34:26 -0500
committerGitHub <noreply@github.com>2018-02-09 11:34:26 -0500
commit22a115055a34443a01a3006bc2e0c1697c29abe1 (patch)
tree2dbf937d53ed9ff07d4ea8ae75d28d96914309d1 /googlemock/scripts/generator/cpp/ast.py
parentc211f21906ca1b40bd10b46052cde85b291963f6 (diff)
parentc8510504ddf3bd9e486fdce076bdf5dba62d18bb (diff)
downloadgoogletest-22a115055a34443a01a3006bc2e0c1697c29abe1.tar.gz
googletest-22a115055a34443a01a3006bc2e0c1697c29abe1.tar.bz2
googletest-22a115055a34443a01a3006bc2e0c1697c29abe1.zip
Merge pull request #1446 from tholsapp/master
Fixed typos
Diffstat (limited to 'googlemock/scripts/generator/cpp/ast.py')
-rwxr-xr-xgooglemock/scripts/generator/cpp/ast.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/scripts/generator/cpp/ast.py b/googlemock/scripts/generator/cpp/ast.py
index 11cbe912..cce32724 100755
--- a/googlemock/scripts/generator/cpp/ast.py
+++ b/googlemock/scripts/generator/cpp/ast.py
@@ -338,7 +338,7 @@ class Class(_GenericDeclaration):
# TODO(nnorwitz): handle namespaces, etc.
if self.bases:
for token_list in self.bases:
- # TODO(nnorwitz): bases are tokens, do name comparision.
+ # TODO(nnorwitz): bases are tokens, do name comparison.
for token in token_list:
if token.name == node.name:
return True
@@ -381,7 +381,7 @@ class Function(_GenericDeclaration):
def Requires(self, node):
if self.parameters:
- # TODO(nnorwitz): parameters are tokens, do name comparision.
+ # TODO(nnorwitz): parameters are tokens, do name comparison.
for p in self.parameters:
if p.name == node.name:
return True
@@ -858,7 +858,7 @@ class AstBuilder(object):
last_token = self._GetNextToken()
return tokens, last_token
- # TODO(nnorwitz): remove _IgnoreUpTo() it shouldn't be necesary.
+ # TODO(nnorwitz): remove _IgnoreUpTo() it shouldn't be necessary.
def _IgnoreUpTo(self, token_type, token):
unused_tokens = self._GetTokensUpTo(token_type, token)