summaryrefslogtreecommitdiffstats
path: root/Include/node.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-11-28 15:56:10 (GMT)
committerGitHub <noreply@github.com>2017-11-28 15:56:10 (GMT)
commit598ceae876ff4a23072e59945597e945583de4ab (patch)
treea7c0c1380c40bda01c70b8bd40ba47d1b2f6d54a /Include/node.h
parent08d2b86a1058b733bb7f1ae2b55818dd9687d21c (diff)
downloadcpython-598ceae876ff4a23072e59945597e945583de4ab.zip
cpython-598ceae876ff4a23072e59945597e945583de4ab.tar.gz
cpython-598ceae876ff4a23072e59945597e945583de4ab.tar.bz2
bpo-32150: Expand tabs to spaces in C files. (#4583)
Diffstat (limited to 'Include/node.h')
-rw-r--r--Include/node.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Include/node.h b/Include/node.h
index 654ad85..40596df 100644
--- a/Include/node.h
+++ b/Include/node.h
@@ -8,12 +8,12 @@ extern "C" {
#endif
typedef struct _node {
- short n_type;
- char *n_str;
- int n_lineno;
- int n_col_offset;
- int n_nchildren;
- struct _node *n_child;
+ short n_type;
+ char *n_str;
+ int n_lineno;
+ int n_col_offset;
+ int n_nchildren;
+ struct _node *n_child;
} node;
PyAPI_FUNC(node *) PyNode_New(int type);
@@ -25,12 +25,12 @@ PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n);
#endif
/* Node access functions */
-#define NCH(n) ((n)->n_nchildren)
+#define NCH(n) ((n)->n_nchildren)
-#define CHILD(n, i) (&(n)->n_child[i])
-#define RCHILD(n, i) (CHILD(n, NCH(n) + i))
-#define TYPE(n) ((n)->n_type)
-#define STR(n) ((n)->n_str)
+#define CHILD(n, i) (&(n)->n_child[i])
+#define RCHILD(n, i) (CHILD(n, NCH(n) + i))
+#define TYPE(n) ((n)->n_type)
+#define STR(n) ((n)->n_str)
#define LINENO(n) ((n)->n_lineno)
/* Assert that the type of a node is what we expect */