implement invalid string handler
string literal detection working and error reporting