Lichen

Change of inspector.py

448:8c38470be06e
inspector.py
     1.1 --- a/inspector.py	Mon Jan 09 20:01:19 2017 +0100
     1.2 +++ b/inspector.py	Mon Jan 09 20:01:53 2017 +0100
     1.3 @@ -303,17 +303,6 @@
     1.4          elif isinstance(n, compiler.ast.Tuple):
     1.5              return self.get_literal_instance(n, "tuple")
     1.6  
     1.7 -        # Unsupported nodes.
     1.8 -
     1.9 -        elif isinstance(n, compiler.ast.GenExpr):
    1.10 -            raise InspectError("Generator expressions are not supported.", path, n)
    1.11 -
    1.12 -        elif isinstance(n, compiler.ast.IfExp):
    1.13 -            raise InspectError("If-else expressions are not supported.", path, n)
    1.14 -
    1.15 -        elif isinstance(n, compiler.ast.ListComp):
    1.16 -            raise InspectError("List comprehensions are not supported.", path, n)
    1.17 -
    1.18          # All other nodes are processed depth-first.
    1.19  
    1.20          else: