From e39f2236ea3f1b2b50bbed65ec33ad4f56f409cb Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 3 Nov 2009 07:56:53 -0800 Subject: Version 019 Regexps can be bound to variables. New freeform directive. --- regex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regex.h') diff --git a/regex.h b/regex.h index c69180d7..873682a4 100644 --- a/regex.h +++ b/regex.h @@ -42,8 +42,8 @@ void char_set_add(char_set_t *, int); void char_set_add_range(char_set_t *, int, int); /* inclusive */ int char_set_contains(char_set_t *, int); -typedef enum { - nfa_accept, nfa_empty, nfa_wild, nfa_single, nfa_set +typedef enum { + nfa_accept, nfa_empty, nfa_wild, nfa_single, nfa_set } nfa_kind_t; typedef union nfa_state nfa_state_t; @@ -95,7 +95,7 @@ typedef struct nfa { nfa_state_t *accept; } nfa_t; -typedef enum nfam_result { +typedef enum nfam_result { NFAM_INCOMPLETE, NFAM_FAIL, NFAM_MATCH } nfam_result_t; -- cgit v1.2.3