about summary refs log tree commit diff
path: root/scripts/glibcpp.py
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /scripts/glibcpp.py
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'scripts/glibcpp.py')
-rw-r--r--scripts/glibcpp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/glibcpp.py b/scripts/glibcpp.py
index 5dc99f0120..4e1326c10b 100644
--- a/scripts/glibcpp.py
+++ b/scripts/glibcpp.py
@@ -222,7 +222,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
     args is None for a macro that is not function-like.  Otherwise, it
     is a tuple that contains the macro argument name tokens.
 
-    body is a tuple that contains the tokens that constitue the body
+    body is a tuple that contains the tokens that constitute the body
     of the macro definition (excluding whitespace).
 
     error is None if no error was detected, or otherwise a problem
@@ -242,7 +242,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
 
     @property
     def line(self):
-        """Return the line number of the macro defintion."""
+        """Return the line number of the macro definition."""
         return self.name_token.line
 
     @property
@@ -387,7 +387,7 @@ def macro_eval(macro_defs, reporter):
     evaluated = OrderedDict()
 
     # String to macro definitions during evaluation.  Nice error
-    # reporting relies on determinstic iteration order.
+    # reporting relies on deterministic iteration order.
     stack = OrderedDict()
 
     def eval_token(current, token):