pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2004-04-13
2004-04-13 06:43:24 by Jonas Wallden <jonasw@roxen.com>
332595de7ef760b66f408c0a6d13208bf1636d88 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Another adjustment in the spirit of Per's optimizations.
Rev: src/builtin_functions.c:1.539
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin_functions.c,v 1.
538
2004/04/
12
00
:
27
:
38
per
Exp $
+
|| $Id: builtin_functions.c,v 1.
539
2004/04/
13
06
:
43
:
24
jonasw
Exp $
*/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
538
2004/04/
12
00
:
27
:
38
per
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
539
2004/04/
13
06
:
43
:
24
jonasw
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
406:
#define DO_LOWER_CASE(C) do {\ INT32 c = C; \
-
struct case_info *ci = find_ci(c); \
+
if(c<128){if(c >= 'A' && c <= 'Z' ) C=c+0x20;}else {\
-
+
struct case_info *ci = find_ci(c); \
if (ci) { \ switch(ci->mode) { \ case CIM_NONE: case CIM_LOWERDELTA: break; \