summaryrefslogtreecommitdiff
path: root/tools/indent.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/indent.py')
-rwxr-xr-xtools/indent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/indent.py b/tools/indent.py
index 91bb23f67c..139049b670 100755
--- a/tools/indent.py
+++ b/tools/indent.py
@@ -6,7 +6,7 @@ import sys, re, subprocess, os
# find all DEFUNs
defun_re = re.compile(
- r'^((DEF(UN(_NOSH|_HIDDEN)?|PY)|ALIAS)\s*\(.*?)^(?=\s*\{)',
+ r'^((DEF(UN(|_ATTR|_CMD_(ELEMENT|FUNC_(DECL|TEXT))|_DEPRECATED|_NOSH|_HIDDEN|SH(|_ATTR|_DEPRECATED|_HIDDEN))?|PY)|ALIAS)\s*\(.*?)^(?=\s*\{)',
re.M | re.S)
define_re = re.compile(
r'((^#\s*define[^\n]+[^\\]\n)+)',