summaryrefslogtreecommitdiff
path: root/indent.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-10 09:24:40 -0500
committerGitHub <noreply@github.com>2018-02-10 09:24:40 -0500
commit420016643c6c19e88d900af524c7c65931c17fbd (patch)
tree7f174401b0a519bd261e2e0b675b90d69b1eca4e /indent.py
parent5651675e438d7162580e45e6a5d4856208e87092 (diff)
parentd316210b6580faa2462b1e5fb5020ef3b4f1d03c (diff)
Merge pull request #1735 from LabNConsulting/working/master/pre-vpn-vrf-leak-indenting
Working/master/pre vpn vrf leak indenting
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)+)',