summaryrefslogtreecommitdiff
path: root/Build/source/texk/makeindexk/scanst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/makeindexk/scanst.h')
-rw-r--r--Build/source/texk/makeindexk/scanst.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/Build/source/texk/makeindexk/scanst.h b/Build/source/texk/makeindexk/scanst.h
index 6b4eb135a64..017d6461d70 100644
--- a/Build/source/texk/makeindexk/scanst.h
+++ b/Build/source/texk/makeindexk/scanst.h
@@ -145,7 +145,19 @@
#define INDENTLEN_DEF 16
-#define STY_ERROR(F, D) { \
+#define STY_ERROR(F) { \
+ if (idx_dot) { \
+ fprintf(ilg_fp, "\n"); \
+ idx_dot = FALSE; \
+ } \
+ fprintf(ilg_fp, "** Input style error (file = %s, line = %d):\n -- ", \
+ sty_fn, sty_lc); \
+ fprintf(ilg_fp, F); \
+ sty_ec++; \
+ put_dot = FALSE; \
+}
+
+#define STY_ERROR1(F, D) { \
if (idx_dot) { \
fprintf(ilg_fp, "\n"); \
idx_dot = FALSE; \