Warning, /graphics/okular/core/synctex/patches/08-fix_cpp_comments.diff is written in an unsupported language. File is not indexed.

0001 Fix cpp comments
0002 Author: Albert Astals Cid <aacid@kde.org>
0003 
0004 Index: synctex/synctex_parser.c
0005 ===================================================================
0006 --- synctex.orig/synctex_parser.c
0007 +++ synctex/synctex_parser.c
0008 @@ -6048,7 +6048,7 @@ static int _synctex_scanner_get_tag(sync
0009              }
0010          } while((input = __synctex_tree_sibling(input)));
0011      }
0012 -    //  2011 version
0013 +    /* 2011 version */
0014      name = _synctex_base_name(name);
0015      if ((input = scanner->input)) {
0016          do {
0017 @@ -6058,7 +6058,7 @@ static int _synctex_scanner_get_tag(sync
0018                      if (_synctex_is_equivalent_file_name(name,_synctex_base_name(_synctex_data_name(other_input)))
0019                          && (strlen(_synctex_data_name(input))!=strlen(_synctex_data_name(other_input))
0020                              || strncmp(_synctex_data_name(other_input),_synctex_data_name(input),strlen(_synctex_data_name(input))))) {
0021 -                            // There is a second possible candidate
0022 +                            /* There is a second possible candidate */
0023                              return 0;
0024                          }
0025                  }
0026 Index: synctex/synctex_parser_utils.c
0027 ===================================================================
0028 --- synctex.orig/synctex_parser_utils.c
0029 +++ synctex/synctex_parser_utils.c
0030 @@ -587,6 +587,6 @@ int _synctex_get_name(const char * outpu
0031  
0032  const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode) {
0033      static const char * synctex_io_modes[4] = {"r","rb","a","ab"}; 
0034 -    unsigned index = ((io_mode & synctex_io_gz_mask)?1:0) + ((io_mode & synctex_io_append_mask)?2:0);// bug pointed out by Jose Alliste
0035 +    unsigned index = ((io_mode & synctex_io_gz_mask)?1:0) + ((io_mode & synctex_io_append_mask)?2:0);/* bug pointed out by Jose Alliste */
0036      return synctex_io_modes[index];
0037  }