• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2
3import sys
4
5InterestingVar = 0
6
7input = open(sys.argv[1], "r")
8for line in input:
9  i = line.find(';')
10  if i >= 0:
11    line = line[:i]
12  if line.startswith("@interesting = global") or "@interesting" in line:
13    InterestingVar += 1
14
15if InterestingVar == 4:
16  sys.exit(0) # interesting!
17
18sys.exit(1)
19