anchor.diff:    }
   
     action end_feature {
  +    int line;
       if (cs < lexer_first_final) {
         if (raise_lexer_error != NULL) {
           size_t count = 0;
  
positive.code:         newstr_val = rb_str_new(buff, len);
          newstr = RSTRING_PTR(newstr_val);
  
          for (count = 0; count < len; count++) {
            if(buff[count] == 10) {
              newstr[newstr_count] = '\0'; // terminate new string at first newline found
  
negative.code:           newstr_count++;
          }
  
  	line = lexer->line_number;
          lexer_init(lexer); // Re-initialize so we can scan again with the same lexer
          raise_lexer_error(newstr, line);
        }
  