summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-02-09 15:06:42 (GMT)
committerGuido van Rossum <guido@python.org>2001-02-09 15:06:42 (GMT)
commitcd90c20b6268415ac136b927df627c8fccafbc97 (patch)
treee4b237d6af86cf2d7932f9f2436d259ef5693625 /Python
parent85d6edfc83ddba764f9ff5c9960ddf336e11f1bb (diff)
downloadcpython-cd90c20b6268415ac136b927df627c8fccafbc97.zip
cpython-cd90c20b6268415ac136b927df627c8fccafbc97.tar.gz
cpython-cd90c20b6268415ac136b927df627c8fccafbc97.tar.bz2
Reindent a function that was somehow indented by 7 spaces. Also did a
spaces->tab conversion for fields added to struct compiling.
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/Python/compile.c b/Python/compile.c
index ce1ed3f..2a93a57 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -193,19 +193,19 @@ PyTypeObject PyCode_Type = {
static int
all_name_chars(unsigned char *s)
{
- static char ok_name_char[256];
- static unsigned char *name_chars = (unsigned char *)NAME_CHARS;
+ static char ok_name_char[256];
+ static unsigned char *name_chars = (unsigned char *)NAME_CHARS;
- if (ok_name_char[*name_chars] == 0) {
- unsigned char *p;
- for (p = name_chars; *p; p++)
- ok_name_char[*p] = 1;
- }
- while (*s) {
- if (ok_name_char[*s++] == 0)
- return 0;
- }
- return 1;
+ if (ok_name_char[*name_chars] == 0) {
+ unsigned char *p;
+ for (p = name_chars; *p; p++)
+ ok_name_char[*p] = 1;
+ }
+ while (*s) {
+ if (ok_name_char[*s++] == 0)
+ return 0;
+ }
+ return 1;
}
static int
@@ -353,9 +353,9 @@ struct compiling {
int c_last_addr, c_last_line, c_lnotab_next;
char *c_private; /* for private name mangling */
int c_tmpname; /* temporary local name counter */
- int c_nested; /* Is block nested funcdef or lamdef? */
- int c_closure; /* Is nested w/freevars? */
- struct symtable *c_symtable; /* pointer to module symbol table */
+ int c_nested; /* Is block nested funcdef or lamdef? */
+ int c_closure; /* Is nested w/freevars? */
+ struct symtable *c_symtable; /* pointer to module symbol table */
};
int is_free(int v)