diff options
author | Jim Meyering <meyering@redhat.com> | 2012-03-01 17:31:23 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-03-02 07:49:15 +0100 |
commit | 8dee6ace770d36c5fc72b01a5e287accd47bc336 (patch) | |
tree | a155ab36ce5ab9045e23c103260061a52af017cf | |
parent | bc6c1e74fb562c02c1a34cf5d7f59bb054a1dc02 (diff) | |
download | grep-8dee6ace770d36c5fc72b01a5e287accd47bc336.tar.gz |
maint: manually correct formatting in dfa.c's cpp definitions
* src/dfa.c: Adjust formatting in cpp definitions.
-rw-r--r-- | src/dfa.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -424,7 +424,7 @@ struct dfa /* ACCEPTS_IN_CONTEXT returns true if the given state accepts in the specified context. */ #define ACCEPTS_IN_CONTEXT(prev, curr, state, dfa) \ - SUCCEEDS_IN_CONTEXT((dfa).states[state].constraint, prev, curr) + SUCCEEDS_IN_CONTEXT ((dfa).states[state].constraint, prev, curr) static void dfamust (struct dfa *dfa); static void regexp (void); @@ -819,7 +819,7 @@ static unsigned char const *buf_end; /* reference to end in dfaexec(). */ else \ { \ wchar_t _wc; \ - cur_mb_len = mbrtowc(&_wc, lexptr, lexleft, &mbs); \ + cur_mb_len = mbrtowc (&_wc, lexptr, lexleft, &mbs); \ if (cur_mb_len <= 0) \ { \ cur_mb_len = 1; \ @@ -831,7 +831,7 @@ static unsigned char const *buf_end; /* reference to end in dfaexec(). */ lexptr += cur_mb_len; \ lexleft -= cur_mb_len; \ (wc) = _wc; \ - (c) = wctob(wc); \ + (c) = wctob (wc); \ } \ } \ } while(0) @@ -839,8 +839,8 @@ static unsigned char const *buf_end; /* reference to end in dfaexec(). */ # define FETCH(c, eoferr) \ do { \ wint_t wc; \ - FETCH_WC(c, wc, eoferr); \ - } while(0) + FETCH_WC (c, wc, eoferr); \ + } while (0) #else /* Note that characters become unsigned here. */ @@ -2871,8 +2871,8 @@ build_state_zero (struct dfa *d) ++p; \ if ((char *) p >= end) \ { \ - free(mblen_buf); \ - free(inputwcs); \ + free (mblen_buf); \ + free (inputwcs); \ *end = saved_end; \ return NULL; \ } \ |