Lines Matching full:line
49 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
66 for line in open(filename, "rt"):
67 if '#' in line:
68 line = line[:line.index('#')]
69 line = line.strip()
70 if len(line) > 0:
71 result.append(line)
172 for line in lines:
173 hash = line.find('#')
174 if hash != -1: line = line[:hash]
175 line = line.strip()
176 if len(line) is 0: continue
177 const_match = CONST_PATTERN.match(line)
183 macro_match = MACRO_PATTERN.match(line)
190 python_match = PYTHON_MACRO_PATTERN.match(line)
198 raise ("Illegal line: " + line)