summaryrefslogtreecommitdiff
path: root/compat/regex/regexec.c
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2019-11-05 17:07:30 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-10 16:00:55 +0900
commit03670c8b2375062a5bcc50ce8891a4406fbc88e2 (patch)
tree1f59a47b80eda5492a8c02f737a3b5a4d5a22ebe /compat/regex/regexec.c
parentmultimail: fix a few simple spelling errors (diff)
downloadtgif-03670c8b2375062a5bcc50ce8891a4406fbc88e2.tar.xz
Fix spelling errors in no-longer-updated-from-upstream modules
We have several modules originally taken from some upstream source, and which as far as I can tell we no longer update from the upstream anymore. As such, I have not submitted these spelling fixes to any external projects but just include them directly here. Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regexec.c')
-rw-r--r--compat/regex/regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/regex/regexec.c b/compat/regex/regexec.c
index 1b5d89fd5e..49358ae475 100644
--- a/compat/regex/regexec.c
+++ b/compat/regex/regexec.c
@@ -2420,7 +2420,7 @@ find_recover_state (reg_errcode_t *err, re_match_context_t *mctx)
/* From the node set CUR_NODES, pick up the nodes whose types are
OP_OPEN_SUBEXP and which have corresponding back references in the regular
expression. And register them to use them later for evaluating the
- correspoding back references. */
+ corresponding back references. */
static reg_errcode_t
internal_function
@@ -3347,7 +3347,7 @@ build_trtable (const re_dfa_t *dfa, re_dfastate_t *state)
dests_node = dests_alloc->dests_node;
dests_ch = dests_alloc->dests_ch;
- /* Initialize transiton table. */
+ /* Initialize transition table. */
state->word_trtable = state->trtable = NULL;
/* At first, group all nodes belonging to `state' into several