summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2011-06-10 21:21:52 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2011-06-10 21:21:52 +0000
commitd39a25fec754593858c5a518590c5d27651f53c2 (patch)
tree2bb3aabbb3faf42024c232e9594ca473268c3bb2 /Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
parent37f6b7b2c32a7857611501709d42ae114370efec (diff)
synctex: 1 bug fix and 1 enhancement to support some luatex change. Only for the synctex command line utility and 3rd party clients
git-svn-id: svn://tug.org/texlive/trunk@22905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex_parser_utils.h')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_utils.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
index 6d36d738e93..d15a48a8207 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
@@ -3,9 +3,9 @@ Copyright (c) 2008, 2009, 2010, 2011 jerome DOT laurens AT u-bourgogne DOT fr
This file is part of the SyncTeX package.
-Latest Revision: Fri Mar 11 07:39:12 UTC 2011
+Latest Revision: Fri Jun 10 14:10:17 UTC 2011
-Version: 1.13
+Version: 1.15
See synctex_parser_readme.txt for more details
@@ -66,7 +66,13 @@ extern "C" {
# else
# define SYNCTEX_IS_PATH_SEPARATOR(c) ('/' == c)
# endif
-
+
+# if _WIN32
+# define SYNCTEX_IS_DOT(c) ('.' == c)
+# else
+# define SYNCTEX_IS_DOT(c) ('.' == c)
+# endif
+
/* This custom malloc functions initializes to 0 the newly allocated memory.
* There is no bzero function on windows. */
void *_synctex_malloc(size_t size);
@@ -126,6 +132,8 @@ int _synctex_get_name(const char * output, const char * build_directory, char **
/* returns the correct mode required by fopen and gzopen from the given io_mode */
const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode);
+const char * synctex_ignore_leading_dot_slash(const char * name);
+
#ifdef __cplusplus
}
#endif