diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-03-13 21:09:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-13 21:09:15 -0400 |
| commit | 548dac09465b40dd24df939624bd98f98a48363d (patch) | |
| tree | a261c227ef786d5c4be9ac1d2c346fce11ea09e8 /tools/indent.py | |
| parent | 2cdb3adfee540ff3367ef3206fe3807f38bc3b8b (diff) | |
| parent | b86543b804d9eb5c0b818ea542f59fbbe94bff50 (diff) | |
Merge pull request #1867 from LabNConsulting/working/master/indent2
more indent.py related changes
Diffstat (limited to 'tools/indent.py')
| -rwxr-xr-x | tools/indent.py | 2 |
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)+)', |
