aboutsummaryrefslogtreecommitdiff
path: root/jimregexp.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-09-12 13:33:51 +1000
committerSteve Bennett <steveb@workware.net.au>2011-09-12 16:58:56 +1000
commitd9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6 (patch)
tree11c7f1bfb943313d05423884425dae6ecf18e7d2 /jimregexp.c
parent39f8b5dedf4b713ce58cfa4bdd84d473d30fbeba (diff)
downloadjimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.zip
jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.gz
jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.bz2
Remove all trailing whitespace in source
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jimregexp.c')
-rw-r--r--jimregexp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/jimregexp.c b/jimregexp.c
index 4b30efa..c652ad4 100644
--- a/jimregexp.c
+++ b/jimregexp.c
@@ -524,7 +524,7 @@ static int regpiece(regex_t *preg, int *flagp)
/**
* Add all characters in the inclusive range between lower and upper.
- *
+ *
* Handles a swapped range (upper < lower).
*/
static void reg_addrange(regex_t *preg, int lower, int upper)
@@ -550,7 +550,7 @@ static void reg_addrange_str(regex_t *preg, const char *str)
/**
* Extracts the next unicode char from utf8.
- *
+ *
* If 'upper' is set, converts the char to uppercase.
*/
static int reg_utf8_tounicode_case(const char *s, int *uc, int upper)
@@ -564,7 +564,7 @@ static int reg_utf8_tounicode_case(const char *s, int *uc, int upper)
/**
* Converts a hex digit to decimal.
- *
+ *
* Returns -1 for an invalid hex digit.
*/
static int hexdigitval(int c)
@@ -604,7 +604,7 @@ static int parse_hex(const char *s, int n, int *uc)
/**
* Call for chars after a backlash to decode the escape sequence.
- *
+ *
* Stores the result in *ch.
*
* Returns the number of bytes consumed.
@@ -1150,7 +1150,7 @@ static int prefix_cmp(const int *prog, int proglen, const char *string, int noca
/**
* Searchs for 'c' in the range 'range'.
- *
+ *
* Returns 1 if found, or 0 if not.
*/
static int reg_range_find(const int *range, int c)
@@ -1167,7 +1167,7 @@ static int reg_range_find(const int *range, int c)
/**
* Search for the character 'c' in the utf-8 string 'string'.
- *
+ *
* If 'nocase' is set, the 'string' is assumed to be uppercase
* and 'c' is converted to uppercase before matching.
*
@@ -1193,7 +1193,7 @@ static const char *str_find(const char *string, int c, int nocase)
/**
* Returns true if 'ch' is an end-of-line char.
- *
+ *
* In REG_NEWLINE mode, \n is considered EOL in
* addition to \0
*/