summaryrefslogtreecommitdiff
path: root/compat/regex
diff options
context:
space:
mode:
authorMike Ralphson <mike@abacus.co.uk>2009-04-17 18:13:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-04-23 02:02:12 (GMT)
commit3ea3c215c02dc4a4e7d0881c25b2223540960797 (patch)
treee6e8e312ae4af706982a1fa1dd9ddfb3faedc2f0 /compat/regex
parentbad542f0b1bca3b57e300a21fc7268c1800e6752 (diff)
downloadgit-3ea3c215c02dc4a4e7d0881c25b2223540960797.zip
git-3ea3c215c02dc4a4e7d0881c25b2223540960797.tar.gz
git-3ea3c215c02dc4a4e7d0881c25b2223540960797.tar.bz2
Fix typos / spelling in comments
Signed-off-by: Mike Ralphson <mike@abacus.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex')
-rw-r--r--compat/regex/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/regex/regex.c b/compat/regex/regex.c
index 87b33e4..5ea0075 100644
--- a/compat/regex/regex.c
+++ b/compat/regex/regex.c
@@ -1043,7 +1043,7 @@ regex_compile (pattern, size, syntax, bufp)
they can be reliably used as array indices. */
register unsigned char c, c1;
- /* A random tempory spot in PATTERN. */
+ /* A random temporary spot in PATTERN. */
const char *p1;
/* Points to the end of the buffer, where we should append. */
@@ -1796,7 +1796,7 @@ regex_compile (pattern, size, syntax, bufp)
we're all done, the pattern will look like:
set_number_at <jump count> <upper bound>
set_number_at <succeed_n count> <lower bound>
- succeed_n <after jump addr> <succed_n count>
+ succeed_n <after jump addr> <succeed_n count>
<body of loop>
jump_n <succeed_n addr> <jump count>
(The upper bound and `jump_n' are omitted if