Inlining variable into string constants

In the following example in all but the last three cases the variable `bar` is wrongly inlined into string constants:

    def foo():
        bar = 42

        print("bar\
    ")

        print('bar\
    ')

        print(r"bar\
    ")

        print(r'bar\
    ')

        print(u"bar\
    ")

        print(u'bar\
    ')

        # correct
        print("""bar\
    """)

        # correct
        print(r"""bar\
    """)

        # correct
        print(u"""bar\
    """)