diff options
| author | Paul Eggert | 2011-03-15 14:14:06 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-15 14:14:06 -0700 |
| commit | 5da9919f99ebacbc511113134ef8f687a562d5b8 (patch) | |
| tree | 93ca25d179a3ad53796e4132fc98c06ecb704a91 /src/regex.c | |
| parent | b313f9d86378db4dd4619923572b07513c53ceac (diff) | |
| download | emacs-5da9919f99ebacbc511113134ef8f687a562d5b8.tar.gz emacs-5da9919f99ebacbc511113134ef8f687a562d5b8.zip | |
Use functions, not macros, for up- and down-casing.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c index 4194ccc7c00..e6d0da96312 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -340,7 +340,7 @@ enum syntaxcode { Swhitespace = 0, Sword = 1, Ssymbol = 2 }; | |||
| 340 | || ((c) >= 'A' && (c) <= 'Z')) \ | 340 | || ((c) >= 'A' && (c) <= 'Z')) \ |
| 341 | : SYNTAX (c) == Sword) | 341 | : SYNTAX (c) == Sword) |
| 342 | 342 | ||
| 343 | # define ISLOWER(c) (LOWERCASEP (c)) | 343 | # define ISLOWER(c) lowercasep (c) |
| 344 | 344 | ||
| 345 | # define ISPUNCT(c) (IS_REAL_ASCII (c) \ | 345 | # define ISPUNCT(c) (IS_REAL_ASCII (c) \ |
| 346 | ? ((c) > ' ' && (c) < 0177 \ | 346 | ? ((c) > ' ' && (c) < 0177 \ |
| @@ -351,7 +351,7 @@ enum syntaxcode { Swhitespace = 0, Sword = 1, Ssymbol = 2 }; | |||
| 351 | 351 | ||
| 352 | # define ISSPACE(c) (SYNTAX (c) == Swhitespace) | 352 | # define ISSPACE(c) (SYNTAX (c) == Swhitespace) |
| 353 | 353 | ||
| 354 | # define ISUPPER(c) (UPPERCASEP (c)) | 354 | # define ISUPPER(c) uppercasep (c) |
| 355 | 355 | ||
| 356 | # define ISWORD(c) (SYNTAX (c) == Sword) | 356 | # define ISWORD(c) (SYNTAX (c) == Sword) |
| 357 | 357 | ||