aboutsummaryrefslogtreecommitdiffstats
path: root/util/regex_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/regex_internal.c')
-rw-r--r--util/regex_internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/regex_internal.c b/util/regex_internal.c
index 6f3a96e7d..4349f1b6d 100644
--- a/util/regex_internal.c
+++ b/util/regex_internal.c
@@ -793,7 +793,7 @@ re_node_set_merge (dest, src)
/* Insert the new element ELEM to the re_node_set* SET.
return 0 if SET already has ELEM,
- return -1 if an error is occured, return 1 otherwise. */
+ return -1 if an error is occurred, return 1 otherwise. */
static int
re_node_set_insert (set, elem)
@@ -909,7 +909,7 @@ re_node_set_remove_at (set, idx)
/* Add the token TOKEN to dfa->nodes, and return the index of the token.
- Or return -1, if an error will be occured. */
+ Or return -1, if an error will be occurred. */
static int
re_dfa_add_node (dfa, token, mode)