The literal contains an uneven number of quotation marks
Make sure any quotation marks within the literal are doubled; for example, 'This is Jane''s book' (two consecutive single quotation marks). If the literal is continued onto a second line make sure the first line has a terminating literal.