summaryrefslogtreecommitdiff
path: root/indent.py
diff options
context:
space:
mode:
authorMitesh Kanjariya <mitesh@cumulusnetworks.com>2018-02-12 02:05:00 -0800
committerGitHub <noreply@github.com>2018-02-12 02:05:00 -0800
commitefc812a3794e730c633d25a07361dbc419e62ab5 (patch)
tree91d486bf9d824df08c3b85d88422a1ecfe50c581 /indent.py
parentc48d9f5f8545c4af3e4a2a4a58999cf62b705486 (diff)
parent420016643c6c19e88d900af524c7c65931c17fbd (diff)
Merge branch 'master' into type5-with-asymm
Diffstat (limited to 'indent.py')
-rw-r--r--indent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent.py b/indent.py
index a2c18e556d..560c13c77d 100644
--- a/indent.py
+++ b/indent.py
@@ -6,7 +6,7 @@ import sys, re, subprocess, os
# find all DEFUNs
defun_re = re.compile(
- r'^(DEF(UN(_NOSH|_HIDDEN)?|PY)\s*\(.*?)^(?=\s*\{)',
+ r'^((DEF(UN(_NOSH|_HIDDEN)?|PY)|ALIAS)\s*\(.*?)^(?=\s*\{)',
re.M | re.S)
define_re = re.compile(
r'((^#\s*define[^\n]+[^\\]\n)+)',