356 if f: |
356 if f: |
357 endline = calculateMethodEndline(lineno, srcLines) |
357 endline = calculateMethodEndline(lineno, srcLines) |
358 f.setEndLine(endline) |
358 f.setEndLine(endline) |
359 classstack.append((f, thisindent)) # Marker for nested fns |
359 classstack.append((f, thisindent)) # Marker for nested fns |
360 |
360 |
361 elif m.start("String") >= 0: |
361 elif m.start("String") >= 0 or m.start("Comment") >= 0: |
362 pass |
|
363 |
|
364 elif m.start("Comment") >= 0: |
|
365 pass |
362 pass |
366 |
363 |
367 elif m.start("Interface") >= 0: |
364 elif m.start("Interface") >= 0: |
368 # we found an interface definition |
365 # we found an interface definition |
369 thisindent = indent |
366 thisindent = indent |