Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ee2373b9
Kaydet (Commit)
ee2373b9
authored
May 07, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Oops, missed some renamings.
üst
6778f257
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
14 deletions
+11
-14
regexpr.c
Modules/regexpr.c
+5
-5
printgrammar.c
Parser/printgrammar.c
+1
-1
getmtime.c
Python/getmtime.c
+1
-2
graminit.c
Python/graminit.c
+1
-1
mystrtoul.c
Python/mystrtoul.c
+3
-5
No files found.
Modules/regexpr.c
Dosyayı görüntüle @
ee2373b9
...
@@ -26,7 +26,7 @@ from GNU regexp.
...
@@ -26,7 +26,7 @@ from GNU regexp.
#include "config.h"
/* For Win* specific redefinition of printf c.s. */
#include "config.h"
/* For Win* specific redefinition of printf c.s. */
#include "myproto.h"
/* For PROTO macro --Guido */
#include "myproto.h"
/* For P
y_P
ROTO macro --Guido */
#include <stdio.h>
#include <stdio.h>
#include <assert.h>
#include <assert.h>
...
@@ -152,7 +152,7 @@ static char re_syntax_table[256];
...
@@ -152,7 +152,7 @@ static char re_syntax_table[256];
#endif
/* emacs */
#endif
/* emacs */
static
void
re_compile_initialize
PROTO
((
void
));
static
void
re_compile_initialize
P
y_P
ROTO
((
void
));
static
void
re_compile_initialize
()
static
void
re_compile_initialize
()
{
{
int
a
;
int
a
;
...
@@ -262,7 +262,7 @@ int syntax;
...
@@ -262,7 +262,7 @@ int syntax;
return
ret
;
return
ret
;
}
}
static
int
hex_char_to_decimal
PROTO
((
int
));
static
int
hex_char_to_decimal
P
y_P
ROTO
((
int
));
static
int
hex_char_to_decimal
(
ch
)
static
int
hex_char_to_decimal
(
ch
)
int
ch
;
int
ch
;
{
{
...
@@ -773,7 +773,7 @@ regexp_t bufp;
...
@@ -773,7 +773,7 @@ regexp_t bufp;
#undef SET_FIELDS
#undef SET_FIELDS
static
void
re_compile_fastmap_aux
static
void
re_compile_fastmap_aux
PROTO
((
char
*
,
int
,
char
*
,
char
*
,
char
*
));
P
y_P
ROTO
((
char
*
,
int
,
char
*
,
char
*
,
char
*
));
static
void
re_compile_fastmap_aux
(
code
,
pos
,
visited
,
can_be_null
,
fastmap
)
static
void
re_compile_fastmap_aux
(
code
,
pos
,
visited
,
can_be_null
,
fastmap
)
char
*
code
,
*
visited
,
*
can_be_null
,
*
fastmap
;
char
*
code
,
*
visited
,
*
can_be_null
,
*
fastmap
;
int
pos
;
int
pos
;
...
@@ -870,7 +870,7 @@ int pos;
...
@@ -870,7 +870,7 @@ int pos;
}
}
}
}
static
int
re_do_compile_fastmap
PROTO
((
char
*
,
int
,
int
,
char
*
,
char
*
));
static
int
re_do_compile_fastmap
P
y_P
ROTO
((
char
*
,
int
,
int
,
char
*
,
char
*
));
static
int
re_do_compile_fastmap
(
buffer
,
used
,
pos
,
can_be_null
,
fastmap
)
static
int
re_do_compile_fastmap
(
buffer
,
used
,
pos
,
can_be_null
,
fastmap
)
char
*
buffer
,
*
fastmap
,
*
can_be_null
;
char
*
buffer
,
*
fastmap
,
*
can_be_null
;
int
used
,
pos
;
int
used
,
pos
;
...
...
Parser/printgrammar.c
Dosyayı görüntüle @
ee2373b9
...
@@ -49,7 +49,7 @@ printgrammar(g, fp)
...
@@ -49,7 +49,7 @@ printgrammar(g, fp)
fprintf
(
fp
,
"#include
\"
grammar.h
\"\n
"
);
fprintf
(
fp
,
"#include
\"
grammar.h
\"\n
"
);
printdfas
(
g
,
fp
);
printdfas
(
g
,
fp
);
printlabels
(
g
,
fp
);
printlabels
(
g
,
fp
);
fprintf
(
fp
,
"grammar
gram
= {
\n
"
);
fprintf
(
fp
,
"grammar
_PyParser_Grammar
= {
\n
"
);
fprintf
(
fp
,
"
\t
%d,
\n
"
,
g
->
g_ndfas
);
fprintf
(
fp
,
"
\t
%d,
\n
"
,
g
->
g_ndfas
);
fprintf
(
fp
,
"
\t
dfas,
\n
"
);
fprintf
(
fp
,
"
\t
dfas,
\n
"
);
fprintf
(
fp
,
"
\t
{%d, labels},
\n
"
,
g
->
g_ll
.
ll_nlabels
);
fprintf
(
fp
,
"
\t
{%d, labels},
\n
"
,
g
->
g_ll
.
ll_nlabels
);
...
...
Python/getmtime.c
Dosyayı görüntüle @
ee2373b9
...
@@ -37,10 +37,9 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -37,10 +37,9 @@ PERFORMANCE OF THIS SOFTWARE.
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include "rename2.h"
long
long
getmt
ime
(
path
)
PyOS_GetLastModificationT
ime
(
path
)
char
*
path
;
char
*
path
;
{
{
struct
stat
st
;
struct
stat
st
;
...
...
Python/graminit.c
Dosyayı görüntüle @
ee2373b9
...
@@ -1445,7 +1445,7 @@ static label labels[124] = {
...
@@ -1445,7 +1445,7 @@ static label labels[124] = {
{
1
,
"class"
},
{
1
,
"class"
},
{
312
,
0
},
{
312
,
0
},
};
};
grammar
gram
=
{
grammar
_PyParser_Grammar
=
{
57
,
57
,
dfas
,
dfas
,
{
124
,
labels
},
{
124
,
labels
},
...
...
Python/mystrtoul.c
Dosyayı görüntüle @
ee2373b9
...
@@ -39,8 +39,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -39,8 +39,6 @@ PERFORMANCE OF THIS SOFTWARE.
#define Py_CHARMASK(c) ((c) & 0xff)
#define Py_CHARMASK(c) ((c) & 0xff)
#endif
#endif
#include "rename2.h"
/* strtol and strtoul, renamed to avoid conflicts */
/* strtol and strtoul, renamed to avoid conflicts */
/*
/*
...
@@ -61,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -61,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include <errno.h>
#include <errno.h>
unsigned
long
unsigned
long
my
strtoul
(
str
,
ptr
,
base
)
PyOS_
strtoul
(
str
,
ptr
,
base
)
register
char
*
str
;
register
char
*
str
;
char
**
ptr
;
char
**
ptr
;
int
base
;
int
base
;
...
@@ -148,7 +146,7 @@ int base;
...
@@ -148,7 +146,7 @@ int base;
}
}
long
long
my
strtol
(
str
,
ptr
,
base
)
PyOS_
strtol
(
str
,
ptr
,
base
)
char
*
str
;
char
*
str
;
char
**
ptr
;
char
**
ptr
;
int
base
;
int
base
;
...
@@ -163,7 +161,7 @@ int base;
...
@@ -163,7 +161,7 @@ int base;
if
(
sign
==
'+'
||
sign
==
'-'
)
if
(
sign
==
'+'
||
sign
==
'-'
)
str
++
;
str
++
;
result
=
(
long
)
my
strtoul
(
str
,
ptr
,
base
);
result
=
(
long
)
PyOS_
strtoul
(
str
,
ptr
,
base
);
/* Signal overflow if the result appears negative,
/* Signal overflow if the result appears negative,
except for the largest negative integer */
except for the largest negative integer */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment