diff --git a/verify_mnh_expand.py b/verify_mnh_expand.py index 6676023dc5f16da7cbe7b70fd21b823761a105ec..9788bddf761c8142ef9bfa016a63f0fc03353d93 100755 --- a/verify_mnh_expand.py +++ b/verify_mnh_expand.py @@ -87,6 +87,9 @@ def verify_mnh_expand(path): if line[:3].upper() == b'DO ': logging.warning('A DO loop is inside a mnh_expand bloc, is order correct?. ' + 'Line {line} of file {filename}'.format(line=iline + 1, filename=path)) + elif line[:5].upper() == b'CALL ': + logging.warning('A CALL statement is inside a mnh_expand bloc, is it correct? ' + + 'Line {line} of file {filename}'.format(line=iline + 1, filename=path)) elif b'=' in line and all([c in lhschar for c in line.split(b'=')[0]]): lhs = line.split(b'=')[0] if not b'(' in lhs: