summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/synctexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog
index 94fecac418d..a0c84c3f98a 100644
--- a/Build/source/texk/web2c/synctexdir/ChangeLog
+++ b/Build/source/texk/web2c/synctexdir/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * synctex_parser.c: remove "# warning ..." lines, because MSVC fails to
+ interpret them.
+
2011-10-14 Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
These changes only affect the synctex command line utility
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c
index ef5c60438c3..508db2e3cf7 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c
@@ -119,14 +119,12 @@ typedef union _synctex_info_t {
} synctex_info_t;
# if defined(SYNCTEX_USE_CHARINDEX)
-# warning SyncTeX With CHARINDEX
# define SYNCTEX_DECLARE_CHARINDEX synctex_charindex_t char_index
# define SYNCTEX_CHARINDEX(NODE) (NODE->char_index)
# define SYNCTEX_PRINT_CHARINDEX printf("#%i\n",SYNCTEX_CHARINDEX(node))
# define SYNCTEX_DECLARE_CHAR_OFFSET synctex_charindex_t charindex_offset
# define SYNCTEX_IMPLEMENT_CHARINDEX(NODE,CORRECTION) NODE->char_index = (synctex_charindex_t)(scanner->charindex_offset+SYNCTEX_CUR-SYNCTEX_START+(CORRECTION));
# else
-# warning SyncTeX Without CHARINDEX
# define SYNCTEX_DECLARE_CHARINDEX
# define SYNCTEX_CHARINDEX(NODE) 0
# define SYNCTEX_PRINT_CHARINDEX printf("\n")