The "s" here is not the delimiter of the string, but the last content inside of the string:  Also, the scanner does not use keep_state for multi-line comments; should be fixed in #116.