summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/synctex_parser.c
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-10-11 19:29:05 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-10-11 19:29:05 +0000
commit8c9a2bdde3cb2fac4d29e55976983c3806bc3a07 (patch)
tree54a94029e6aff693a75a5780d2ebe911f7b2410e /Build/source/texk/web2c/synctexdir/synctex_parser.c
parent0024b39df19531ab14ba86fefe53eb7993a1eb5e (diff)
SyncTeX parser 1.20. Initialisations fixes.
git-svn-id: svn://tug.org/texlive/trunk@45521 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex_parser.c')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c
index 58fcb590924..edca5ce8c7c 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c
@@ -3,8 +3,8 @@
This file is part of the __SyncTeX__ package.
- [//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Latest Revision: Wed Oct 11 19:19:08 UTC 2017)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
@@ -59,7 +59,7 @@
* \file synctex_parser.c
* \brief SyncTeX file parser and controller.
* - author: Jérôme LAURENS
- * \version 1.19
+ * \version 1.20
* \date Mon Apr 24 07:08:56 UTC 2017
*
* Reads and parse *.synctex[.gz] files,
@@ -186,7 +186,7 @@ static const synctex_data_model_s synctex_data_model_none = {
-1, /* depth_V */
-1, /* name */
-1, /* page */
- 0
+ 0 /* size */
};
typedef const synctex_data_model_s * synctex_data_model_p;
@@ -1688,7 +1688,9 @@ static const synctex_data_model_s synctex_data_model_ref = {
-1, /* width_V */
-1, /* height_V */
-1, /* depth_V */
- synctex_data_ref_thv_max
+ -1, /* name */
+ -1, /* page */
+ synctex_data_ref_thv_max /* size */
};
static synctex_class_s synctex_class_ref = {
NULL, /* No scanner yet */
@@ -6706,7 +6708,7 @@ SYNCTEX_INLINE static synctex_point_s _synctex_data_set_point(synctex_node_p nod
return old;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_box(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = synctex_node_width(node);
if (n<0) {
@@ -6722,7 +6724,7 @@ SYNCTEX_INLINE static synctex_box_s _synctex_data_box(synctex_node_p node) {
return box;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_xob(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = synctex_node_width(node);
if (n>0) {
@@ -6738,7 +6740,7 @@ SYNCTEX_INLINE static synctex_box_s _synctex_data_xob(synctex_node_p node) {
return box;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_box_V(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = _synctex_node_width_V(node);
if (n<0) {