Browse Source

Code policy checker fix

pull/264/head
Sami Vaarala 9 years ago
parent
commit
9509fd1af5
  1. 6
      util/check_code_policy.py

6
util/check_code_policy.py

@ -276,6 +276,12 @@ def checkNonAscii(lines, idx, filename):
def checkNoSymbolVisibility(lines, idx, filename):
line = lines[idx]
# Workaround for DUK_ALWAYS_INLINE preceding a declaration
# (e.g. "DUK_ALWAYS_INLINE DUK_LOCAL ...")
if line.startswith('DUK_ALWAYS_INLINE '):
line = line[18:]
m = re_func_decl_or_def.match(line)
if m is None:
return

Loading…
Cancel
Save